hi,
I have a sub that works with Excel 2000 but failed when I gave it to a co-worker in another part of the country that is running Excel 97. I have no way of testing this in 97 because it's not available in my local office.
Any ideas?
This is the error message:
Run-Time error '9':
Subscript out of range
[vba]
Dim ReportName As String
ActiveWindow.Visible = True
Application.DisplayAlerts = False
Windows("" & ReportName & " ").Activate <---This is where it fails
Cells.Select
Selection.Copy
Windows("oldreport.xls").Activate
[/vba]
thanks
zach