Application.Evaluate use R1C1 reference instead A1 Reference

Mushy peas

New Member
Joined
Jun 14, 2023
Messages
27
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
How can I use R1C1 references instead of A1 references. This is an example of where both collides and A1 references is used instead: Evaluate("=C1") (I want to get the first column values).
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
From the help file (R1C1 is not included)

1711612464623.png
 
Upvote 0
View attachment 109111
and you don't normally need the = sign in Evaluate i.e. for cell A1 value it would normally be
Excel Formula:
Debug.Print Evaluate("A1")
Strange, I've always been able to use Evaluate("=R1C1"). Perhaps I am using R1C1 references in my preferences. Will send a ss later at my home computer.
 
Upvote 0
Strange, I've always been able to use Evaluate("=R1C1"). Perhaps I am using R1C1 references in my preferences. Will send a ss later at my home computer.
You can use =, it is just not necessary (I have slightly reworded my statement in the post)
 
Upvote 0
Strange, I've always been able to use Evaluate("=R1C1"). Perhaps I am using R1C1 references in my preferences.
Just tested, it works if you are set up as (you do need the = sign with R1C1 ticked).
Edit: but I can't get it to work without a number in both the row and column i.e. =RC3 isn't working

1711613688982.png
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,068
Messages
6,122,950
Members
449,095
Latest member
nmaske

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