I get R1C1 notation even though I don't have this selected in my options. I am not aware of a means to change this default behaviour (doesn't mean there isn't one though ). Can I ask why you would want to? I use A1 style in the worksheet, but R1C1 beats the heck out of A1 if you want to do any kind of formulas in VBA.
Its impossible to read a complex formula in R1C1 style, I find it a lot easier to record the proper formula and amend if required with variables (such as an EndRow variable changing the range of a formula).
I also find it easier to read / change going forward if changes are required (say an extra column needs adding)
It's a bit chunky-clunky but if you have the formula in a cell you can output the formula to the Immediate Window in the VBE (open Immediate Window with Ctrl+G if you don't already have it up) and type:
?ActiveCell.Formula
(this gives you the formula in the currently active cell). This would mean you could copy and paste it into your VBA code?
I don't believe there is a way to turn it off (I think it's what Excel really uses internally). Although it looks confusing at first, I think it's actually easier to use variables (especially column numbers) if you have R1C1 format.
I may try this on my next project, and I can see it would be faily easy in terms of dynamic ranges, but I'm still concerned if I get a call in 6 months time from the user, saying they have a VB error, that I will regret it trying to debug / recode for process changes.
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.