No toolbars from OLE in Word?

L

Lachlan

Can anyone explain why the following vbScript leads to missing toolbars in
Win 2000 but not 2003?

'!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
dim myWord
set myWord = createobject("word.application")

myWord.documents.add
myword.windowstate = 2 ' minimized
myWord.visible = true
'!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
C

Cindy Meister

Sometimes, this can be alleviated by doing
myWord.Activate

before making it visible or changing the Window state...

-- Cindy
 

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