B
BillCPA
I would like to open several documents and do some processing on them without
actually seeing the documents.
I open a 'Main' document which runs 'Macro A' which displays a user form.
Macro A then proceeds to open several documents and does some processing on
each one, then closes that document. The user form has a text box that
displays the name of the document that is being worked on. But when each
document is opened, it throws up the window in whch the document is opened.
I tried setting the 'Visible' parameter in the .Open to False, but then the
ActiveDocument remains the Main document and it tries to do the processing on
the Main document.
There is probably a simple solution to this, but it eludes me at the moment.
actually seeing the documents.
I open a 'Main' document which runs 'Macro A' which displays a user form.
Macro A then proceeds to open several documents and does some processing on
each one, then closes that document. The user form has a text box that
displays the name of the document that is being worked on. But when each
document is opened, it throws up the window in whch the document is opened.
I tried setting the 'Visible' parameter in the .Open to False, but then the
ActiveDocument remains the Main document and it tries to do the processing on
the Main document.
There is probably a simple solution to this, but it eludes me at the moment.