vba Ubound question

Associate
Joined
19 Jun 2006
Posts
162
Location
Swansea, Wales
Hi,

I'm trying to assign the result of Ubound(array) to a variable so i can use it as a counter but i always get a mismatched type. I've tried integers and longs and variants etc.

How can i do this?
 
Back
Top Bottom