VBA format for a variable cell selection

  • Thread starter Thread starter ramaboy
  • Start date Start date
R

ramaboy

Hi,
..
I would like to know how the following Excel 4 macro command can be
converted to VBA
=SELECT("R"&z+7&"C6")

I have no problem defining the variable "z" value, however I have been
unable to convert the above format into VBA.

Many thanks in anticipation.
 
Cells(z+7,6).Select

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Cells(z+7,6).Select

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)








- Show quoted text -

Thanks a million Bob.
I must say that together with my 9 year break in writing macros and
with the evolution of VBA I have been somewhat
left behind. Thanks again for your help.
 

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