I can't see how you are using the access data to populate the Word docs from this code so it might be worth suggesting an alternative approach? Why not have multiple word doc templates already created and use your If section to determine which of the Word docs to open. Eg
MergeDoc = "S:\K Jones Only\WordMBR Control.docx"
vs
MergeDoc = "S:\K Jones Only\WordMBR Out of Control.docx"
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|