


Though this field is optional, I'd recommend you always provide a brief description. In the Description box, type a short description of what your macro does (optional).New Workbook – creates a new workbook and records the macro to that workbook.This Workbook (default) - the macro will be stored in the current workbook and will be available when you reopen the workbook or share it with other users.All the macros stored in this workbook are available whenever you use Excel. Personal Macro Workbook – stores the macro to a special workbook called Personal.xlsb.From the Store macro in drop-down list, choose where you want to store your macro:.Assigning Ctrl + Shift + S will keep the standard saving shortcut. For example, if you assign Ctrl + S to a macro, you will lose the ability to save your Excel files with a shortcut. In the Shortcut key box, type any letter to assign a keyboard shortcut to the macro (optional).īoth uppercase or lowercase letters are allowed, but you'd be wise to use uppercase key combinations ( Ctrl + Shift + letter) because macro shortcuts override any default Excel shortcuts while the workbook containing the macro is open.MyFirstMacro) or separate words with underscores (e.g. Spaces are not allowed, so you should either keep a name single-worded starting each part with a capital letter (e.g. In macro names, you can use letters, numbers, and underscores the first character must be a letter. Try to make it meaningful and descriptive, so later on you will be able to quickly find the macro in the list. In the Macro name box, enter the name for your macro.In the Record Macro dialog box that appears, configure the main parameters of your macro:.If you prefer working with the keyboard rather than the mouse, press the following key sequence Alt, L, R (one-by-one, not all the keys at a time).
Kids lay facing each other artclip code#
On the Developer tab, in the Code group, click the Record Macro button.Īlternatively, click the Record Macro button on the left side of the Status bar:.To record a macro in Excel, carry out these steps: So, the first thing you need to do is to add Developer tab to your Excel ribbon. Like other VBA tools, Excel macros reside on the Developer tab, which is hidden by default.
