Sub ToggleR1C1() 'Toggles cell referencing style: 'http://blog.contextures.com/archives/2009/12/04/excel-vba-switch-column-headings-to-numbers/ If Application.ReferenceStyle = xlA1 Then Application.ReferenceStyle = xlR1C1 Else Application.ReferenceStyle = xlA1 End If End Sub
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter