confused in Frankfurt
Board Regular
- Joined
- Oct 11, 2010
- Messages
- 53
Hi,
I am trying to navigate from one sheet to next in a loop until the last sheet where it should stop the loop. There are 24 sheets in total and I keep getting an error at the last sheet. How to fix?
Do While IsError(Sheets.Count) = False
Sheets(ActiveSheet.Index + 1).Activate
Loop
Regards
Sarah
I am trying to navigate from one sheet to next in a loop until the last sheet where it should stop the loop. There are 24 sheets in total and I keep getting an error at the last sheet. How to fix?
Do While IsError(Sheets.Count) = False
Sheets(ActiveSheet.Index + 1).Activate
Loop
Regards
Sarah