Hi,
I have a macro that opens a report and saves it as an excel file with format(using the Send Keys),and then emails the excel file.I scheduled this macro to run automatically everyday.I have a strange problem. This macro waits at the point where it has to do the Send Keys. I work in a terminal server environment where I do a remote login.I run the macro and leave that session running and go to my local desktop,and when i return the macro would be waiting,and as soon as I am in the session,it does the send keys(perfectly!). I don't have do anything there - it's just like it runs only when I am 'watching' it!! Because of this the automatic email doesn't work,and i have to manually run the macro(and watch it working!).
Does anyone have a clue about this?
Thanks
bob
I have a macro that opens a report and saves it as an excel file with format(using the Send Keys),and then emails the excel file.I scheduled this macro to run automatically everyday.I have a strange problem. This macro waits at the point where it has to do the Send Keys. I work in a terminal server environment where I do a remote login.I run the macro and leave that session running and go to my local desktop,and when i return the macro would be waiting,and as soon as I am in the session,it does the send keys(perfectly!). I don't have do anything there - it's just like it runs only when I am 'watching' it!! Because of this the automatic email doesn't work,and i have to manually run the macro(and watch it working!).
Does anyone have a clue about this?
Thanks
bob