Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Size of an array
Message
 
To
07/07/2004 11:22:34
David Brunelle
Université de Sherbrooke
Sherbrooke, Quebec, Canada
General information
Forum:
Visual Basic
Category:
VBA
Miscellaneous
Thread ID:
00921432
Message ID:
00921527
Views:
19
This message has been marked as the solution to the initial question of the thread.
You can use UBound and LBound to find the bounds of the array and then do the math.

Dim a(10) As Double
Dim count as Integer
count = UBound(a) - LBound(a) + 1
---
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada
http://www.msmvps.com/windsor
http://www.g6consulting.com
Previous
Reply
Map
View

Click here to load this message in the networking platform