View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Peter M[_3_] Peter M[_3_] is offline
external usenet poster
 
Posts: 18
Default Dimensioning Arrays

I think I need to use an array, but it insists I use 'constant' expressions
when declaring the array, but I want to change its size depending on the
data in use. ReDim would seem an appropriate option, but that too wants
constant expressions and hence I cannot use variables to define the required
size.

Is this a limitation of VBA (I find hard to believe) or have I missed
something obvious?

Thank

Peter M