You can only redim preserve a one-dimensional array
Quote:
>I have the following code:
>in a .bas module
>Global strArray() as String
>in form
>for i = 1 to numofobjects
> if temp(i) Like "###T" then
> numTcount = numTcount + 1
> ReDim Preserve strArray(numcount, 2) as String
> End if
>Next i
>It works the first time, but the second time it tells me subscript out of
>range. What am I doing wrong?
>Thanks
begin 666 Steve Marron.vcf
M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..DUA<G)O;CM3=&5V90T*1DXZ
&0T%21 T*
`
end
end