|
-
Oct 1st, 2010, 12:56 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] Switching worksheets
Hi,
Becase of the way my project has expanded, I want to switch worksheets
in the middle of a For-Next Loop.
The trigger is when the Loop index reaches 13921.
However the line,
If Indx > 13921 Then With Worksheets("Sheet2")
invokes
Compile error: End If without block If
Can this be circumvented, or should I try a different approach?
Thanks, ABB
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|