Display WORD as active Window

D

Dave180

Im using Office 2003.
I open a number of local (or networked) WORD documents from my MS Access
Application using -

Dim objWord As Word.Document
Set objWord = GetObject(strdoc)
objWord.Application.Visible = True

This works fine for older versions of Windows; the correct document, be it
ordinary or mailmerge opens and is displayed on the screen ready for the user
to do whatever with.
Under VISTA however, although WORD opens, it is hidden behind my full screen
Access Switchboard Form.
Does the WORD Application Object have a command I could add to my code to
force it to the front under VISTA?

Any help gratefully received.
Regards,
Dave.
 
T

Terry Farrell

You may get an answer here but the Word VBA gurus usually hang out in the
Word VBA newsgroups such as microsoft.public.word.vba.general
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top