Hi all
I'm kinda puzzled by this issue. My macro works great in my own pc, it is a report generator, I tested it on another 2 pc, no problems at all, however, when I used it on one particular pc, this execution fails.
I looked at it, there wasn't any problem at all. The windows with the title fileName is already opened, I just wanted to activate it because I was copying data from another window. The fileName has no error, however it just won't work. Other pc works just fine. It wasn't microsoft excel version difference anyway, we were using the same version in the office. The error is Run Time error 9: Subscript out of range. I don't know exactly how this happen. Help is very much appreciated.
Thanks for your time,
CJ
I'm kinda puzzled by this issue. My macro works great in my own pc, it is a report generator, I tested it on another 2 pc, no problems at all, however, when I used it on one particular pc, this execution fails.
Code:
Windows(fileName).Activate
Thanks for your time,
CJ
Last edited: