Thread: Range and Cells
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Frank Kabel Frank Kabel is offline
external usenet poster
 
Posts: 3,885
Default Range and Cells

Hi
what error do you get. Maybe you are missing the workbook and worksheet
reference

--
Regards
Frank Kabel
Frankfurt, Germany


stelios wrote:
Hi Frank,

I use VBA Code in a Access Project by which I export the data to
Excel. I want to use the Range function with eg. Range("A1:A9")
automated because eg. the Range(Cells(1,1), Cells(1,9)) bring me an
error!

Thanks!


? "Frank Kabel" ???a?e st? µ???µa
...
Hi
why do you want to do this. Both statements return a range object.
that is
msgbox cells(3,8).address
returns the same as
msgbox range("H3").address

--
Regards
Frank Kabel
Frankfurt, Germany


stelios wrote:
Hi,

How can I convert the <<Cells( iRow,iCol) (eg. Cells(3,8)) in
which range it is ( eg. Range("H3"))?

Thanks!