Using R[1]C[1]

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm trying to copy a(n array of) value(s) inside a workbook to a location
that I refer to with the R[1]C[1] method. The [1] part should however be a
variable, which is based on a value in a certain cell, but that varies every
time. I've tried something looking like

Application.Goto Reference:= R[Range("Sheet 1!AA22")]C[69]

with the intention to move the cursor down by the value in Sheet 1!AA22,
and to the right by 69 columns.

Since this obviously doesn't work, I'm stuck. Who can help???
 
One way:

Application.Goto Reference:= "R[" & Sheets("Sheet1").Range("AA22").Value
& "]C[69]"
 

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