Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel 2010, Is there a way to toggle the "R1C1" check box in the Options/Formulas/screen? 1

Status
Not open for further replies.

DougP

MIS
Dec 13, 1999
5,985
US
I need to frequently switch back and forth to determine either the column Letter or the column number.

Is there a way to create a Quick Access Toolbar button to run some code or something to switch this?
this is in the "Options" menu
then "Formulas" tab
"Working with Formulas" section
then check the "R1C1 reference style" box or uncheck it.

DougP
 
Application.ReferenceStyle = xlR1C1
Application.ReferenceStyle = xlA1

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Sweet PHV

I added this to it, so my button toggles it back and forth.
Code:
Public Sub ToggleR1C1()
' ToggleR1C1 Macro  This macro toggles the R1C1 in the Options menu Formulas
'                   put in a Module in the Personal.xlsb
'                   then create a quick access tool bar button 
    If Application.ReferenceStyle = xlR1C1 Then
        Application.ReferenceStyle = xlA1
    Else
        Application.ReferenceStyle = xlR1C1
    End If
End Sub

DougP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top