I just noticed in the documentation that For Each now iterates through items by index order (item 1, item 2, etc). This is very useful and lets you eliminate a lot of Ubound code before each For…Next loop.
(I may just be late to the party here; I can’t tell when the change was made. The documentation for For Each used to contain an explicit warning that it did not necessarily go in any particular order.)
3 posts - 2 participants