Direct vs. Indirect opening of Word

R

Roy Lasris

Is there a switch or setting that VBA can detect that 'advises' whether Word is
being 'directly' opened from the Word icon (e.g., the programs icon on the
desktop) as opposed to being 'indirectly' opened by clicking on a document( and
Word opening by virtue of the association of the ".doc" extension with Word)?
The command:
CommandBars("Task Pane").Visible
seems to behave differently in each situation.

Thanks, Roy
 
P

Peter

Probably has something to do with whether or not a document is opened when Word opens, rather than a "switch" per say.

-Peter
 

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