scottsanpedro
Programmer
Hi,
Trying to access an already made mail merge document through Access.
I am using the following code.
Set objWord = GetObject("C:\DatabaseMailMerge\BBOffer.doc", "word.document")
objWord.Application.Visible = True
The problem is the dialogue box that comes up saying 'Opening this document will run the following SQL statement' says in the background and therefore does not open the document. Access waits as if waiting for something to happen.
I am using Access 2007.
Any help would be gratefully accepted
Thanks
Scott
Trying to access an already made mail merge document through Access.
I am using the following code.
Set objWord = GetObject("C:\DatabaseMailMerge\BBOffer.doc", "word.document")
objWord.Application.Visible = True
The problem is the dialogue box that comes up saying 'Opening this document will run the following SQL statement' says in the background and therefore does not open the document. Access waits as if waiting for something to happen.
I am using Access 2007.
Any help would be gratefully accepted
Thanks
Scott