Don't blame me for asking a question twice! Originally posted in OFFICE WORD APPLICATIONS But there you go! Any POSITIVE help will be applauded! Regards, Dave "Terry Farrell" wrote: > 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 > > -- > Terry Farrell - MSWord MVP > > "Dave180" wrote in message > news:142F1354-22E2-4C64-BE65-1836BC4FD84B@microsoft.com... > > 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. > >
Hi Dave Try objWord.Activate -- Regards Jonathan West - Word MVP www.intelligentdocuments.co.uk Please reply to the newsgroup "Dave180" wrote in message news:4D95E2B5-C90F-4403-8B05-CB0812C37AB7@microsoft.com... > Don't blame me for asking a question twice! > Originally posted in OFFICE WORD APPLICATIONS > But there you go! > > Any POSITIVE help will be applauded! > Regards, > Dave > > "Terry Farrell" wrote: > >> 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 >> >> -- >> Terry Farrell - MSWord MVP >> >> "Dave180" wrote in message >> news:142F1354-22E2-4C64-BE65-1836BC4FD84B@microsoft.com... >> > 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. >> >>
And now I don't understand at all. Looking at microsoft.public.word.vba.general this post is already listed there. (So I wont post it twice!) Anyone able to help with the original query please? Dave. "Dave180" wrote: > Don't blame me for asking a question twice! > Originally posted in OFFICE WORD APPLICATIONS > But there you go! > > Any POSITIVE help will be applauded! > Regards, > Dave > > "Terry Farrell" wrote: > > > 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 > > > > -- > > Terry Farrell - MSWord MVP > > > > "Dave180" wrote in message > > news:142F1354-22E2-4C64-BE65-1836BC4FD84B@microsoft.com... > > > 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. > > > >