P
pk
Hello. I hope someone can help me.
I am actually working on a project to automate Word from
Excel. I can start a new instance of Word, open files,
etc., but:
1. After the Word App is instantiated, my code does some
processing. Then it switches to Excel. Later, in a new
procedure, how do I re-establish a reference to Word again
(i.e. if the App is already running)?
2. If there is more than one instance running, how can I
determine in VBA which instance is the one my program
started and which is an instance the user started/already
had open?
Please note that my program will always start a new
instance of Word and work with that instance.
Your example code is what I need the most. Thank you very
much for your assistance.
I am actually working on a project to automate Word from
Excel. I can start a new instance of Word, open files,
etc., but:
1. After the Word App is instantiated, my code does some
processing. Then it switches to Excel. Later, in a new
procedure, how do I re-establish a reference to Word again
(i.e. if the App is already running)?
2. If there is more than one instance running, how can I
determine in VBA which instance is the one my program
started and which is an instance the user started/already
had open?
Please note that my program will always start a new
instance of Word and work with that instance.
Your example code is what I need the most. Thank you very
much for your assistance.