Programming Opening Word to a Blank Document

L

LA Lawyer

I want to open Word 2007 (or go to Word if it is already open) via VBA in
Access and, in any event, end up on a blank document. How is that done?
 
J

Jonathan West

LA Lawyer said:
I want to open Word 2007 (or go to Word if it is already open) via VBA in
Access and, in any event, end up on a blank document. How is that done?

make sure that the end of your code includes the following

objWord.Documents.Add

(where objWord is the name you have given to the Word Application object)

That creates a new blank document and makes it Word's active document.
 
Top