E
Ed from AZ
I use a VB6 application to open Word documents (Word 2000). The app
has a drop-down list - I select the doc and it opens. When the doc is
open, Word is at the front as the active application; when I close the
doc or quit the Word app, the VB app again becomes the active
application.
Sometimes I will notice an error in the Word doc. While I'm using
this app, I can't stop to write down the name of the doc to go back to
it and make corrections. I've got an array in the VB app that stores
the names of each doc it opens, but that presents me with a list of
many docs with no errors and one or two buried in the list that need
correcting.
I'm thinking that with the Word app active, I could use a Word macro
to capture the doc name and send it back to the VB app somehow. But
how? I only have time to hit a simple keystroke combo to run a macro,
and then I need to open another doc. I can't communicate directly to
the VB app because it's not active. I can't hold an array in the Word
app because it might be quit rather than just closing the doc.
I'm sure there are other options I haven't thoguht of. If someone
could drop-kick me in the right direction, I would be much obliged.
Ed
has a drop-down list - I select the doc and it opens. When the doc is
open, Word is at the front as the active application; when I close the
doc or quit the Word app, the VB app again becomes the active
application.
Sometimes I will notice an error in the Word doc. While I'm using
this app, I can't stop to write down the name of the doc to go back to
it and make corrections. I've got an array in the VB app that stores
the names of each doc it opens, but that presents me with a list of
many docs with no errors and one or two buried in the list that need
correcting.
I'm thinking that with the Word app active, I could use a Word macro
to capture the doc name and send it back to the VB app somehow. But
how? I only have time to hit a simple keystroke combo to run a macro,
and then I need to open another doc. I can't communicate directly to
the VB app because it's not active. I can't hold an array in the Word
app because it might be quit rather than just closing the doc.
I'm sure there are other options I haven't thoguht of. If someone
could drop-kick me in the right direction, I would be much obliged.
Ed