473,769 Members | 5,846 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Exporting a Report As a Word Document

Hi,
Is there any code/routine to export a report as a word
document retaining the formatting. I have a requirment to produce
some fairly detailed statisitical reports for transmission by e-mail.
The reports require tweaking on a regular basis so I do not really
want to base a standard document on query data, but would prefer to
redesign the report as required and export that on completion. I know
I can save as rtf etc. but you lose all of the formatting which rather
defeats the object of producing a detailed and coherent report ?

Thanks

JBN
Nov 13 '05 #1
5 3086
You can export an Access report as a Snapshot file (.snp). This retains all
formatting.
Everybody with Office XP and above has the Snapshot Viewer needed to view
the file.
If you don't have the viewer, it can be downloaded free from Microsoft.
The Snapshot Viewer allows the recipient to view and print, but not edit the
report.

Regards, Greg in Detroit

"feck" <ne*********@ho tmail.com> wrote in message
news:8v******** *************** *********@4ax.c om...
Hi,
Is there any code/routine to export a report as a word
document retaining the formatting. I have a requirment to produce
some fairly detailed statisitical reports for transmission by e-mail.
The reports require tweaking on a regular basis so I do not really
want to base a standard document on query data, but would prefer to
redesign the report as required and export that on completion. I know
I can save as rtf etc. but you lose all of the formatting which rather
defeats the object of producing a detailed and coherent report ?

Thanks

JBN

Nov 13 '05 #2
On Sat, 12 Feb 2005 16:26:04 GMT, "Greg in Detroit"
<re************ **@yahoo.com> wrote:

Thanks for info Greg, unfortunately our organisation is not XP'ed up
at this time so would not be a solution at this time.
JBN
You can export an Access report as a Snapshot file (.snp). This retains all
formatting.
Everybody with Office XP and above has the Snapshot Viewer needed to view
the file.
If you don't have the viewer, it can be downloaded free from Microsoft.
The Snapshot Viewer allows the recipient to view and print, but not edit the
report.

Regards, Greg in Detroit

"feck" <ne*********@ho tmail.com> wrote in message
news:8v******* *************** **********@4ax. com...
Hi,
Is there any code/routine to export a report as a word
document retaining the formatting. I have a requirment to produce
some fairly detailed statisitical reports for transmission by e-mail.
The reports require tweaking on a regular basis so I do not really
want to base a standard document on query data, but would prefer to
redesign the report as required and export that on completion. I know
I can save as rtf etc. but you lose all of the formatting which rather
defeats the object of producing a detailed and coherent report ?

Thanks

JBN


Nov 13 '05 #3
Stephen Lebans has a a utility to output to an rtf that retains all the
formating. Unfortunately (though hugely impressively) it's all done
with images. This makes it look great on screen and when printed but
just about impossible to edit. You can check that out at
http://www.lebans.com/ReportUtilities.htm.

Jeremy Wallace

Nov 13 '05 #4
Your options are export to a Word template and tweak when necessary or save
the report as a PDF document and email the PDF document.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdata sheet.com
www.pcdatasheet.com
"feck" <ne*********@ho tmail.com> wrote in message
news:8v******** *************** *********@4ax.c om...
Hi,
Is there any code/routine to export a report as a word
document retaining the formatting. I have a requirment to produce
some fairly detailed statisitical reports for transmission by e-mail.
The reports require tweaking on a regular basis so I do not really
want to base a standard document on query data, but would prefer to
redesign the report as required and export that on completion. I know
I can save as rtf etc. but you lose all of the formatting which rather
defeats the object of producing a detailed and coherent report ?

Thanks

JBN

Nov 13 '05 #5
You could export to RTF and then run a macro within Word to replace the
different fonts you've chosen in the report into Word Styles.

Rgds

GaryB

Nov 13 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
5536
by: Jayjay | last post by:
Is it possible to export a report to word and have it include the graphics that are in the report? I'd like to take some of our reports and export them to word so we can email those to the client, but when I export, I lose the logo as well as any graphics (grey line separaters, etc) and only get the text of the reports.
0
1857
by: Stephan Golux | last post by:
Hello. I am using an access 97 application that exports a report to RTF format, which is subsequently emailed to various people. The main informational field in the report is a free form memo field which can be very short or very long. When the report is created in access, the formatting is fine. If you print it, is fine. No problem.
0
3366
by: Otis Hunter | last post by:
I have been fighting with this for days and your expert help is needed! Below is the code I am executing which results with "Object doesn't support this property or method". The error is occuring on the "With Me.OLEObject" line. I am trying to extract a Word document(OLE object) from an Access database, for each record in the table, and save it as a Word Document. The 4th field of each record is a OLE object type. I may be getting...
5
3065
by: mik18 | last post by:
I'm having trouble with exporting reports to Word in the rtf format and I'm hoping someone has a solution. The reports are losing their formats. Not all the formating is lost but some is and of course it's the really important parts that are lost. In one report the grouping is lost and everything gets repeated. I've created several reports that pull data from various tables then they get exported to Word when they're run so the user can...
1
1725
by: gooberoot | last post by:
Hi, When exporting a report to Word - all the formatting is exported with no problems, with ONE exception. Check boxes that show up in the reports are missing. When exported to Word, I don't see the blank check boxes or the checked boxes that show up in the Report. Any ideas?
1
3167
by: Mustufa Baig | last post by:
I have an ASP.NET website where I am showing off crystal reports to users by exporting them to pdf format. Following is the code: ---------------- 1 Private Sub ExportReport() 2 Dim oStream As System.IO.MemoryStream = 3 myReport.ExportToStream( ExportFormatType.PortableDocFormat) 4 Response.Clear() 5 Response.Buffer() = True
0
3159
by: adamz5 | last post by:
I am currently exporting a crystal report using code. This works fine and exports the report to a word document onto disk using DiskFileDestinationOptions() and ExportOptions However when i drill down the report (hence looking at a group), the export i am doing exports the whole report not the current group view on the crystalreportviewer.
2
2872
by: Mux | last post by:
I am facing the following problem while exporting data to Word. The current implementation is as described below: I have a JSP file which has a link that enables you to export the data to Word. Clicking on the link invokes a javascript function: function showRTF() { var newWin = window.open("", "newWin","width=900,height=800%,scrollbars=yes,menubar=yes,resizable=yes,too
3
4445
by: Bhujanga | last post by:
I need to create word documents from an Access Report. Below is the code that I am using. It works but there are problems. The page breaks generated by the report don't always line up just right with where Word wants to break the page. So, sometimes I get one or two lines from the bottom of a page showing up at the top of a headerless page all by themselves. Then the Report page break comes and starts the next page with a header. So a 7-page...
0
9586
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10210
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3956
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2814
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.