Hey All,
I run this code:
Windows("EC1997-002 031904 calc1.xls").Activate
Windows("03190930.04").Activate
Windows("03190935.04").Activate
Windows("03190940.04").Activate
Windows("03190945.04").Activate
Windows("03190950.04").Activate
Windows("03190955.04").Activate
Windows("03191001.04").Activate
Windows("03191006.04").Activate
Windows("03191012.04").Activate
Windows("03191017.04").Activate
Windows("03191022.04").Activate
Windows("03191027.04").Activate
Windows("03191031.04").Activate
Windows("03190930.04").Activate
Range("A1").Select
And when I try to step into the last line I get the error:
Run-Time error '1004' Application-defined or object - defined error
Can anyone tell why? What am I missing, I thought that it would automatically know that I am referencing the last window I activated.
I run this code:
Windows("EC1997-002 031904 calc1.xls").Activate
Windows("03190930.04").Activate
Windows("03190935.04").Activate
Windows("03190940.04").Activate
Windows("03190945.04").Activate
Windows("03190950.04").Activate
Windows("03190955.04").Activate
Windows("03191001.04").Activate
Windows("03191006.04").Activate
Windows("03191012.04").Activate
Windows("03191017.04").Activate
Windows("03191022.04").Activate
Windows("03191027.04").Activate
Windows("03191031.04").Activate
Windows("03190930.04").Activate
Range("A1").Select
And when I try to step into the last line I get the error:
Run-Time error '1004' Application-defined or object - defined error
Can anyone tell why? What am I missing, I thought that it would automatically know that I am referencing the last window I activated.