Home |
Search |
Today's Posts |
|
#1
|
|||
|
|||
Thanks Peter. I wish I could understand the Word object library.
Yes, I am controlling the merge with VBA. I have also found another way of dealing with this. Within Access, objWord.ActiveDocument.Variables.Add.Name:="Varia bleName", Value:="Whatever" inserted on the line before objWord.Run "'ActiveDocument' !Module1.MergeIt" which starts Word Within Word ActiveDocument.SaveAs FileName:=ActiveDocument.Variables("VariableName") .Value, etc Since I am already putting the required data into the rtf file and your neat code is all that is required in each template module, I will adopt your solution. Many thanks. Tom |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Merging Label Form File with Data File | Mailmerge | |||
Save file as .doc having all data in ascii character set | Microsoft Word Help | |||
Word Field Codes in Excel data file | Mailmerge | |||
To select data from across worksheets in a excel file for a main . | Mailmerge |