kelsita_05
Registered User.
- Local time
- Today, 16:14
- Joined
- Aug 23, 2005
- Messages
- 52
Hi-
I have a very simple mail merge set up with bookmarks from Access 2007. I'm happy with it, however I need to specify that it opens Word 2007, as unfortunately both 2003 and 2007 are installed on these machines (out of my control). I was hoping that having the Word file be .docx would do the trick, but apparently not.
I've noticed that it always opens 2007 on my computer, but when I tried it on another machine it's opening 2003. Could that mean something?
Here is the section of my code that starts Word and gets the file:
Dim objWord As Word.Application
'Start Microsoft Word.
Set objWord = CreateObject("Word.Application")
With objWord
'Make the application visible.
.Visible = True
'Open the document.
.Documents.Open ("C:\Documents and Settings\etc.docx"
Is there a way to specify 2007 in the "Word.Application" part?
Thanks so much!
I have a very simple mail merge set up with bookmarks from Access 2007. I'm happy with it, however I need to specify that it opens Word 2007, as unfortunately both 2003 and 2007 are installed on these machines (out of my control). I was hoping that having the Word file be .docx would do the trick, but apparently not.
I've noticed that it always opens 2007 on my computer, but when I tried it on another machine it's opening 2003. Could that mean something?
Here is the section of my code that starts Word and gets the file:
Dim objWord As Word.Application
'Start Microsoft Word.
Set objWord = CreateObject("Word.Application")
With objWord
'Make the application visible.
.Visible = True
'Open the document.
.Documents.Open ("C:\Documents and Settings\etc.docx"
Is there a way to specify 2007 in the "Word.Application" part?
Thanks so much!