Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DoCmd or RunCommand for Export (as Word Merge File)?

Status
Not open for further replies.

hmunster

Technical User
Jul 16, 2001
13
US
I want to export the queries as .txt in the Word Merge file format, which I guess is a quote-delimited text file. I tried the Output To routine in a macro, but it results in a useless mess that Word can't merge in. The "Export as Word Merge file" works just great, though. Question is: how to do this in code. It seems as though this is the required method of merging data with Word in a runtime app. I don't know where else to look, so hope an expert here knows this! Thanks so much,

munster
 
hi,

there's docmd.transfertext(acExportMerge,.....)

did not ever use it myself, but should work though..

CPU-burn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top