View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Yiu Choi Fan Yiu Choi Fan is offline
external usenet poster
 
Posts: 5
Default How to define a Range with variant?

Thanks for all your suggestions!!


"Yiu Choi Fan" wrote in message
...
Hi all,

I would like to define a range with variant in VBA program. For

example,
inside a for-loop, when i=1, the selected range is Range("A1":"F1"); when
i=2, the selected range will be Range("A2":F2") and so on. But I don't

know
how to define such "Range". Can anyone help me? Thanks a lot!!

C.F. Yiu