Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Array Length.

Hi Mits,

Try,

MsgBox UBound(AllCatogary) + 1

---
Regards,
Norman

"Mits" wrote in message
...
Hi,

I am little new VB programing, espcially in excel. So I need little

help finding the funcation. I have array as following.

AllCatogary = Array("Index", "Date", "Time", "Operator Name", _
"Output File Name", TextBox1.Value,

TextBox2.Value)

Is there a function would tell me number of element are in 'AllCatogary'

array?

In above case it is easy, 7 element, but when I run the code, the size of

my array changes, so I like to know if there a function i can call to get
the size of array at that point.

Thank You,
Mits.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Variable length array that exludes (possible) blanks in the middle Emma Excel Discussion (Misc queries) 1 January 21st 09 12:36 PM
Length that falls within a length interval? Igorin Excel Worksheet Functions 4 November 20th 08 06:10 PM
Modify array function length Fabian Grodek Excel Worksheet Functions 3 August 8th 06 04:45 PM
using VB to read in a column of values of varying length into an array [email protected] Excel Worksheet Functions 2 June 12th 06 10:08 PM
how do I do a variable length array based on the value in a cell Mark Pranger Excel Discussion (Misc queries) 1 January 25th 06 07:01 AM


All times are GMT +1. The time now is 10:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"