View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 6,953
Default OpenText FieldInfo:= Array

Dim v() as Variant

n = 10
Redim v(0 to n - 1)
for i = 1 to n
v(i-1) = Array(Cells(i,"A"), cells(i,"B"))
Next

... FieldInfo:=v

--
Regards,
Tom Ogilvy


"PBezucha" wrote:

My experienced friends,
Could you declare in VBA dynamically the composed
Array(Array(a1,b1), .. , Array (an,bn))
on the base of integer matrix a1,..,bn ?
Thanks
Petr

--
Petr Bezucha