Vba Cell Address Question

  • Thread starter Thread starter MJSlattery
  • Start date Start date
M

MJSlattery

I am attempting to direct a macro to copy data. It does not like my
attempt to define where the cell is. That is not a hard address.

How do you use a calculation from another cell as an address.

VBA compiler does not like ADDRESS(8,D5) or CELL(8,D5) or $D5.

What is the correct way to set an indexed cell address?

Thanks,

Michael
 
You mean like Range("D5").Address or Cells(5,4).address -- --- will get
you $d$5
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top