Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
VBA - Switching between programs and detecting errors
Hello,
I have a VBA program in Excel that launches Word. 1) Sometimes it appears that the program is hanging when in fact there is a dialog message in Word. I do not want to disable dialog because I want my user to answer the question Word is asking. I've tried using the Activate method on the Word document at the time I know when the message would come to simply so that the message will be seen more readily, but it does not bring Word to the front like I expect. I figure it should act like Alt+Tab but it doesn't. Is Activate not the way to do this? Is there another way? 2) Similar to first, sometimes there is an error in Word. However, in this case I do not want to Activate Word (never mind that it doesn't work for me anyway) unless there is an error. In this case I want to detect the error from within VBA. Is there a way to monitor the error status of the slave program? Thanks! Bill |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|