title: VBA equivalent of hasnext method?
body: <p>Does VBA have an equivalent to the Java .hasnext method?</p>
  
  <p>I'm trying to loop through a lot of sheets in an excel workbook and was going to use</p>
  
  <pre><code>ActiveSheet.Next.Select
  </code></pre>
  
  <p>within a loop, let me know any methods that would be more effective than this as I'm sure there are. Thanks in advance!</p>