R1C1 Style Conversion

kylemck4

New Member
Joined
Jan 19, 2003
Messages
42
When I record a macro and try to revise it in V.B.A., it by default sets the style to R1C1. However, I am more comfortable with the A1 Style. How do I change this setting?
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
The macro recorder always uses R1C1 style references (FormulaR1C1 Property). I don't think you can change itso that it uses the Formula Property.

You can, however, toggle how your formulas look by choosing Tools, Options and checking R1C1 reference style on the General tab. That may help you understand them.

You can also use the ConvertFormula Method in VBA to see how a formula in one style would look in the other. Check out the example in Help.
 
Upvote 0
As Andrew stated, you are stuck with the R1C1 style format when you use the macro recorder. However, are you referring to how to interpret or convert a R1CI style to A1 style after you have recorded the macro?

Regards,

Mike
 
Upvote 0

Forum statistics

Threads
1,225,155
Messages
6,183,212
Members
453,151
Latest member
Lizamaison

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