Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help me !!! Please !!!!!!

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,<br><br>I desesperatly need your help !<br>The question is : How to count the number of elements of a dynamic array
 
The subscript of a dynamic array is defined by LBound and UBound of it.<br>LBound -- least index of the array's elements<br>UBound -- last index of the array's elements<br><br>So, to count the number of elements you need to use these properties. Usually arrays start from index equals to 0.<br><br>Dim i,count<br>count = 0<br>For i = 0 to ubound(arrayname)<br>&nbsp;count = count + 1<br>Next<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top