View Single Post
 
Old 01-18-2016, 09:23 AM
moneal62 moneal62 is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Jan 2016
Posts: 4
moneal62 is on a distinguished road
Default

Hello Paul - Greatly appreciate the response and on how to post code. More background on this - from our database application we are building a command line string that opens Word, opens a merge document and passes in a text file, runs the macros, and completes the merge. It really *has* worked since 2003, the code I posted contained my (bungled) attempts at fixing it recently.

In our string I have now changed it to a .DOTM file and made progress - I still receive the error message but the file *does* merge. But, each merged record is on it's own page, whereas previously we had six labels per page. (these are scientific labels for labeling botanical specimens, not mailing labels). When I tried the code you posted, with just .ACTIVATE, I get "Invalid or Unqualified Reference". Sounds like I need something in from of .ACTIVATE?

Thank you again, very much.

Mike O.
Reply With Quote