Problem: Have a Word XP merge doc using an Excel XP spreadsheet as data source. When you open the doc by itself, it opens as a merge doc and recognizes the data source (Me.ActiveWindow.Document.MailMerge.DataSource.Name = "Path-Plus-File Name"). When you open the same document from an Access XP database through VBA (Word.Documents.Open FileName:="G:\Folder\FileName.doc", ReadOnly:=False) it does not work as a merge document, and Me.ActiveWindow.Document.MailMerge.DataSource.Name = "".
What is causing this discrepancy? How can I solve it so the merge doc opens correctly through Access VBA? Thanks...
What is causing this discrepancy? How can I solve it so the merge doc opens correctly through Access VBA? Thanks...