Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 18th, 2007, 05:44 AM
Registered User
 
Join Date: Oct 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Convert Ms Access report to MS Word doc

Can anybody help me. I need to conver Ms Access report to Ms Word format

Thanks in advance.
kite
Reply With Quote
  #2 (permalink)  
Old October 22nd, 2007, 01:45 AM
Authorized User
 
Join Date: Mar 2007
Location: Sydney, NSW, Australia.
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Kite

There is a few options you have here, 1) if the report is is preview mode on your screen then you can simply go to Tools - Office Links - Publish it with MS Word or 2) if you wish to program this to a command button or simular then use something along the lines of
    Dim stDocName As String
    stDocName = "Report name goes here"
    DoCmd.OutputTo acReport, stDocName

This code will give you the coice of output methods, ie word, excel etc etc
If you like you can further customise this code to specify file name / path etc


Hope this helps

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Access ----> MS Word anukagni Access 1 August 30th, 2006 02:15 AM
how do i convert ms word doc to access tables??? carswelljr Javascript How-To 1 August 28th, 2006 03:44 AM
How to open .DOC in MS-Word file thru a link ? sherbir Javascript 10 March 8th, 2006 06:20 AM
Need to Preview a MS Word Doc GAF General .NET 2 November 11th, 2005 03:13 PM
How to open a .DOC file with MS-Word ? sherbir Servlets 0 July 26th, 2004 02:39 AM



All times are GMT -4. The time now is 11:55 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.