Application.Evaluate use R1C1 reference instead A1 Reference

Mushy peas

New Member
Joined
Jun 14, 2023
Messages
35
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

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
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,224,828
Messages
6,181,206
Members
453,022
Latest member
RobertV1609

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