Teach Microsoft Office
Online Video Tutorials for Microsoft Office
Request Tutorial
Excel Help and Consulting
Video Player Demo
User Testimonials
Easy to Follow and Great Content
Awesome tutorials. This is great work; thanks a lot for all of these tutorials, and at a great price. The tutorials are easy to follow and understand and are very valuable for me. Teachmsoffice.com has helped me a lot in terms of increasing my Excel skills and learning how to master Excel. Keep up the good work!
- Sarah M.

Thank you so much!
Thank you so much! My professor was giving me a hard time with this...so I told him I will just figure it out on my own and this site really helped me figure everything out!!
- Ms. R

Thank you and godbless
My text book really sucks and I'm very thankful that you have all of these tutorials. I finished my last two questions because of your site! Thank you and godbless.
- Rob V.

Amazing Videos
Just wanted to say that your videos are amazing. I'm watching them and they really help me understand. The way you explain and go through everything is amazing. Thank you soo much!
- Design X

Saved a Ton of Time!
You have just saved me so much time, I cannot thank you enough!
- L. J.

Thank You!
Thank you for sharing these important tips. Your voice is clear and the steps are clear. It is easy to follow. Thank you!
- Kent

Saved Me Time
Thanks for the tutorials, I never had to do this before today and I needed it done very quickly. These videos saved me time I didn't have!
- Mitchel S.

Thank You!
Thank you! Helped me so much!
- M. Clean

Excellent Tutor
I was just listening to the tutorial online and I must say that the tutor is doing an excellent job.
- D. B.

Sign Up to View Tutorials
Purchase Subscription

Determine the First and Last Index Number of an Array in VBA

This Excel VBA macro tutorial shows you how to find the first and last index number of an array variable. These index numbers are also referred to as the lower and upper bounds of an array variable. This information is very helpful when trying to loop through an array or access its contents.
Tutorial Length (mm:ss): 4:49
Sign Up to View Tutorials
Purchase Subscription
Downloadable Files: Yes
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training excel macro vba visual basic determine first last upper lower bound index number array
Bookmark and Share
View All Tutorials - 375 Tutorials - 36 hours 28 minutes of Content
Similar Tutorials
Tutorial Length
(mm:ss)
Office Program
What is an Array in VBA? 2:17 Microsoft Office Excel
Create a Static Array Variable in VBA 9:32 Microsoft Office Excel
Store Values in an Array in VBA 3:47 Microsoft Office Excel
Output Values from an Array in VBA 4:15 Microsoft Office Excel
Get the Number of Items in an Array in VBA 9:11 Microsoft Office Excel
Determine the First and Last Index Number of an Array in VBA 4:49 Microsoft Office Excel
Create a Dynamic Array Variable in VBA 19:36 Microsoft Office Excel
Loop through a Static Array Variable in VBA 8:23 Microsoft Office Excel
Loop through a Dynamic Array Variable in VBA 8:52 Microsoft Office Excel
Increase or Decrease the Size of a Dynamic Array in VBA 6:30 Microsoft Office Excel
Add Elements to a Dynamic Array Variable in VBA 5:45 Microsoft Office Excel
Add Elements to a Dynamic Array Variable in VBA Using a Loop 8:16 Microsoft Office Excel
Clear or Erase All Values in a Static Array Variable in VBA 5:50 Microsoft Office Excel
Clear or Erase All Values in a Dynamic Array Variable in VBA 5:35 Microsoft Office Excel
Check if a Variable is an Array in VBA 3:14 Microsoft Office Excel
Specify the Lower Bound or First Index Number of an Array 7:32 Microsoft Office Excel
Convert a String or Words into an Array in VBA 7:31 Microsoft Office Excel
Convert an Array into a String in VBA 6:01 Microsoft Office Excel


This Excel VBA macro tutorial shows you how to create a dynamic array variable in vba and macros. This tutorial covers how to declare a dynamic array; how to size a dynamic array; how to resize a dynamic array; how to input and output values from an array variable; and how to add values or elements to an array variable without deleting previously stored elements within the array. This is a comprehensive overview and explanation of dynamic arrays in vba and macros.
Tutorial Length (mm:ss): 19:36
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training excel macro vba visual basic array arrays dynamic declare create insert redim preserve elements values input output
This Excel VBA macro tutorial shows you how to loop through a static array variable in VBA. This tutorial will show you how to use a For Next Loop in order to quickly add elements or items to an array variable and also to quickly retrieve or get elements from a static array variable. This technique is very useful and will help you streamline your VBA code.
Tutorial Length (mm:ss): 8:23
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training excel macro vba visual basic static basic array variable loop through retrieve pull values elements
This Excel VBA macro tutorial shows you how to loop through the elements contained within a dynamic array variable in VBA. This tutorial will show you how to use a For Next Loop in order to access each of the elements within a dynamic array. This is a little tricky with a dynamic array because you need to dynamically reference the upper and lower bounds of the array variable. This tutorial is a must view for anyone who works with dynamic arrays in VBA.
Tutorial Length (mm:ss): 8:52
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training excel macro vba visual basic loop through dynamic array elements retrieve output view upper lower bound
This Excel VBA macro tutorial shows you how to increase and decrease the size of a dynamic array variable in VBA. This is the same as increasing or decreasing the index number or lower and upper bounds of a dynamic array and will allow you to put more elements into a dynamic array. This is the feature of a dynamic array that actually makes it dynamic.
Tutorial Length (mm:ss): 6:30
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training excel macro vba visual dynamic array increase decrease size upper lower bound index number store elements
This Excel VBA macro tutorial shows you how to add elements to a dynamic array variable in VBA. This tutorial will also cover how to prevent previous elements in the array from being erased when you add a new element to the array. This is especially important when you need to increase the size of the array in order to add an extra element or multiple new elements to the array, which is also covered in this tutorial.
Tutorial Length (mm:ss): 5:45
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training excel macro vba visual basic dynamic array variable insert add elements values size increase
This Excel VBA macro tutorial shows you how to quickly add elements to a dynamic array using a loop. The loop used for this example is a For Next Loop. This tutorial covers how to use variables instead of hard coded values to resize a dynamic array and then to add a new element to the array.
Tutorial Length (mm:ss): 8:16
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training excel macro vba visual dynamic array add elements items values loop for next quickly
This Excel VBA macro tutorial shows you how to clear or erase all of the items contained within a static array variable. This means that all text strings will be turned into empty strings and all numbers will be turned into zeros. However, this method will not change or alter the size of the static array.
Tutorial Length (mm:ss): 5:50
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training excel macro vba visual basic static array variable clear remove erase delete values items elements
This Excel VBA macro tutorial shows you two different ways to clear or delete all of the values from a dynamic array in VBA. This is a very important thing to know how to do with dynamic arrays because it will allow you to free memory that your macro or program is using. One of the methods in this tutorial will allow you to retain the array’s size while the other one will completely remove or delete the array’s size along with the data contained within the array variable.
Tutorial Length (mm:ss): 5:35
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training excel macro vba visual basic dynamic array clear erase delete values elements items
This Excel VBA macro tutorial shows you how to check if a variable is an array variable or a regular variable in VBA. This method works the same for static and dynamic array variables.
Tutorial Length (mm:ss): 3:14
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training excel macro vba visual basic isarray variable array check determine static dynamic
This Excel VBA macro tutorial shows you how to set or declare the lower bound or first index number of an array in VBA. You will learn how to control the number for the lower bound of an array variable and how to set this for specific arrays as well as for all of the arrays within a macro.
Tutorial Length (mm:ss): 7:32
Microsoft Office Program: Microsoft Office Excel
   
Keywords: training excel macro vba visual basic array static dynamic first index number lower bound option base set
 
Official PayPal Seal SSL
Join TeachMsOffice.com on Facebook
Follow TeachMsOffice.com on Twitter


Microsoft Office Tutorials | Office Tutorials - Excel Word PowerPoint | HD Tutorial Video Player Overview | About TeachMsOffice.com

TeachMsOffice.com provides HD Online Video Tutorials and Training for Microsoft Office programs such as Excel, Word, and PowerPoint. We use a specialized video player interface to teach a vast list of Microsoft Office Tutorials and we add new tutorials on a weekly or monthly basis.