View Single Post
  #2 (permalink)  
Old 02-08-2010, 09:24 AM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by jschuchert View Post
but really didn't understand what it was telling me about the scope equal or wider than the calling goto.
Simply put it means that you can jump out of or within an If/End If block or For/Next loop but can't jump into one. Studiously refraining from commenting about the use of Goto at all you might consider making the problematic block of code a separate Sub to avoid the scoping problem.
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote