I have simple code that selects all the sheets within a workbook. It works in one workbook, but when I copy it to another workbook I get an error saying method out of range. Is there a setting within the workbook that could be causing this. Thanks for your help!!!
For I = 2 To Sheets.Count
Sheets(I).Select
'FormatReport
Next I
For I = 2 To Sheets.Count
Sheets(I).Select
'FormatReport
Next I