I am not an Access programmer but I have been asked to make some changes to an Access DB.
I need to open a Word template and populate some bookmarks on the template.
I have found code to open the template but I can't get it to open. I get the error:
"Type mismatch".
Here is the code:
Do I need to add a reference or something? I am using the Office 2010 suite.
Thanks.
I need to open a Word template and populate some bookmarks on the template.
I have found code to open the template but I can't get it to open. I get the error:
"Type mismatch".
Here is the code:
Code:
Dim objWord As Object
Set objWord = CreateObject("Word.Application")
Do I need to add a reference or something? I am using the Office 2010 suite.
Thanks.