Bass71
MIS
- Jun 21, 2001
- 79
Hi:
I'm am using the SendKey functionality to launch Excel attachments from Lotus Notes. Unless the last line of code is the launching of attachment, the spreadsheet does not open. It doesn't matter how long a pause I put in, the actual opening of the file doesn't happen if there's code after. So, I am seeking a way to stop the macro and then resume, with the hope that this will solve my dilemma.
Here's what I have before the problem:
SendKeys "L", True --This launches the attachment
Application.Wait Now() + TimeSerial(0, 0, 4)
SendKeys "^{p}", True --This initiates printing, but due to the code after the launch it never opens.
THanks for your help..................RO
I'm am using the SendKey functionality to launch Excel attachments from Lotus Notes. Unless the last line of code is the launching of attachment, the spreadsheet does not open. It doesn't matter how long a pause I put in, the actual opening of the file doesn't happen if there's code after. So, I am seeking a way to stop the macro and then resume, with the hope that this will solve my dilemma.
Here's what I have before the problem:
SendKeys "L", True --This launches the attachment
Application.Wait Now() + TimeSerial(0, 0, 4)
SendKeys "^{p}", True --This initiates printing, but due to the code after the launch it never opens.
THanks for your help..................RO