Get the Number of Items in an Array Variable in VBA and Macros in Excel

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
2,188
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 27, 2010

Go to http://www.teachmsoffice.com for this and hundreds of other tutorials and training in Excel and Microsoft office.

This Excel VBA macro tutorial shows you how to determine the number of items or elements contained within an array variable. This is very important when you want to loop through an array variable. Note, this is not necessarily the same as the upper bound or last index number of an array variable and it can take some extra work, which is covered in this tutorial, to determine exactly how many elements are contained within an array variable.



This tutorial published with permission from http://www.teachmsoffice.com

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:
see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • @ducksaj There are a few different ways to achieve what you might be wanting, but I have tutorials on all of that now on teachmsoffice. com

  • Hello, I think if you dont know nobody does, so, is there a way to create a macro to set up the macro security level to "down" automatically, because threre are many users dont know how to do it, thank you very much....

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more