Professional Documents
Culture Documents
Chapter 1.5 - Use Relative References
Chapter 1.5 - Use Relative References
#1 Excel tutorial on the net Excel Introduction Basics Functions Data Analysis VBA 300 Examples Ask us
By default, Excel records macros in absolute mode. However, sometimes it is useful to record macros in relative
mode. This program teaches you how to do this. If you don't know how to record a macro, we highly recommend Chapter < >
you to read this example first.
Create a Macro
Recording in Absolute Mode
To record a macro in absolute mode, execute the following steps.
FormulaR1C1
Macro Security
Protect Macro
6. Empty Range("B3:B5").
7. Select any cell on the sheet and run the recorded macro.
Result:
Result:
8. Select any other cell (for example, cell D4) and run the recorded macro.
Result:
Excel places the words relative to the initial selected cell. That's why it's called recording in relative mode.
EXCEL EASY • FREE EXCEL HELP • COPYRIGHT (C) 20102017 • ALL RIGHTS RESERVED
MICROSOFT EXCEL TUTORIAL | HOW TO USE VBA | EXCEL FORMULAS | DROPDOWN LIST