How to open a document that's not visible with vba

A

Alan Riley

I want to open a document in the background, and move text to the
active document. In windows I've used...

Set doc = Documents.Open(Filename:=strFileName, Visible:=False)

....to return an invisible document object without interupting the users
session.

However, it seems that the 'Visible' parameter is not available on the
Mac, so I was hoping that one of you may have an alternative solution.

Thanks
Alan
 
J

John McGhie [MVP - Word and Word Macintosh]

Hi Alan:

No, we do not have an alternative. Setting the document invisible on the
Mac sets it "Inactive", and if it's inactive, your macro stops.

Sorry


I want to open a document in the background, and move text to the
active document. In windows I've used...

Set doc = Documents.Open(Filename:=strFileName, Visible:=False)

...to return an invisible document object without interupting the users

session.

However, it seems that the 'Visible' parameter is not available on the
Mac, so I was hoping that one of you may have an alternative solution.

Thanks
Alan

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 4 1209 1410
 

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