![]() |
Rule to recall collection lower bound index ?
Hello !
In VBA, the Worksheets collection starts at Item 1. The Controls collection starts at Item 0 (as do most collections). Is there a "rule of thumb" for one to recall which collections start at 1 and which start at 0 ? Does this rule stands between versions ? VBA 5 / VBA 6 / VB .Net ? Thanks |
Rule to recall collection lower bound index ?
VBA (including userforms) was grafted on to Excel and is, in many ways, a
different application. I think we can say that Excel collections (workbooks, worksheets, names, ranges, shapes...) start at 1 most of the time, if not always. -- Jim "Michel S." wrote in message ... Hello ! In VBA, the Worksheets collection starts at Item 1. The Controls collection starts at Item 0 (as do most collections). Is there a "rule of thumb" for one to recall which collections start at 1 and which start at 0 ? Does this rule stands between versions ? VBA 5 / VBA 6 / VB .Net ? Thanks |
All times are GMT +1. The time now is 11:04 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com