Does VBA have an equivalent to the Java .hasnext method?
I’m trying to loop through a lot of sheets in an excel workbook and was going to use
ActiveSheet.Next.Select
within a loop, let me know any methods that would be more effective than this as I’m sure there are. Thanks in advance!
there is no equivalent, but most properties that support indexes have a
.Countproperty that will tell you how many you need to iterate through