How can I dynamic give a name range address by R1C1 Format?

Prectice

New Member
Joined
Oct 8, 2014
Messages
16
If I get a name range address such as :C3:C64 , transfer to R1C1 is R3C3:R64C3

Suppose I want to change 3 -> top_i
64 -> btm_i

How could I do for this case?

e.g.

XXX.XXX."R" & top_i & "C3:R" & btm_i & "C3".XXX <--- it seem not working anyhow ?
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
what do the xxx stand for

Code:
With Range("C3:C64").EntireColumn
    MsgBox Range(.Cells(Top_i, 1), .Cells(btm_i, 1)).Address(True, True, xlR1C1)
End With
 
Upvote 0
what do the xxx stand for

Code:
With Range("C3:C64").EntireColumn
    MsgBox Range(.Cells(Top_i, 1), .Cells(btm_i, 1)).Address(True, True, xlR1C1)
End With

The Code come from a macro.. about assign a name range ... I forgot the detail code , but only remember aside the R1C1 address , are have some code there.
and I " " & " " method , seem not working anyways.

This code document now not beside me . If needed , I will supplement XXX really stand for the other day.

Thanks you kind help again sincerely.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,849
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top