M
Mike375
Guest
I am trouble free with with XP but this new Vista Dell is causing me a problem.
The code I use to open Word.docs is
Dim WordObj As Word.Application
Dim WordDoc As Word.Document
Dim WordRange As Word.Range
Set WordObj = CreateObject("Word.Application")
Set WordDoc = WordObj.Documents.Open _
("C:\Letters\0MLCMike.doc")
WordObj.Visible = True
But in Vista only the minimised version opens. For most cases it does not matter as the Word.doc is opened, data from Access inserts to bookmarks, letter prints and Word.doc and Word application is closed.
But I have couple where the Word.doc is opened for editing.
Can anyone help with code that I can add that will open to word doc as maximise.
The code I use to open Word.docs is
Dim WordObj As Word.Application
Dim WordDoc As Word.Document
Dim WordRange As Word.Range
Set WordObj = CreateObject("Word.Application")
Set WordDoc = WordObj.Documents.Open _
("C:\Letters\0MLCMike.doc")
WordObj.Visible = True
But in Vista only the minimised version opens. For most cases it does not matter as the Word.doc is opened, data from Access inserts to bookmarks, letter prints and Word.doc and Word application is closed.
But I have couple where the Word.doc is opened for editing.
Can anyone help with code that I can add that will open to word doc as maximise.