Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default 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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default 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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
recall cell value in hyperlink bc84 Excel Worksheet Functions 2 February 6th 08 10:30 PM
How can i Recall a Value? Gmata Excel Worksheet Functions 1 November 25th 07 01:12 AM
Arrays - Lower Bound and Singleline Assignment Goofy Excel Programming 2 November 2nd 06 06:59 PM
recall records evgny[_2_] Excel Programming 0 December 20th 05 05:35 PM
Need Help with Set Object = Collection(index) Trip[_3_] Excel Programming 1 October 19th 05 03:41 PM


All times are GMT +1. The time now is 07:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"