Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
All jobs and fields require some repetitive steps. Excel help us automate some of those repetitive steps and that way makes our lives easier, so we can get the work done quickly and have more leisure time. MS Excel, allow you to create macros so that you can enter a single character or word to perform a whole series of actions.
What is a macro?
Macros are symbols, names, or keys that represent a list of commands, actions, or keystrokes.
STEP 1
Go to Start>Programs>Microsoft office>Microsoft Excel to open the application. Then, go to Start>New to open a new spreadsheet. Go to File>Save as and save the new file before going further.
STEP 2
STEP 3
A pop up window named Record Macro appear. will
Name - Type the name of your macro. Please note that the first character of the macro name should be a letter, then you can use any letter, number or underscore but with no spaces.
Shortcut key - (optional) this has to be a letter, we have used h, so in our example the macro will run every time we hold down the CTRL key and press the H key.
Store macro in - This would normally be the workbook you are working on (this workbook), but you can save macros into a personal macro workbook.
Description - Here you can enter a description of the macro for your benefit.
When you have finished filling in the information click the OK button to start the macro recorder.
STEP 4
In this step, you will record the macro. at any time you can stop recording the steps for the macro.
STEP 5
Go to File>New to open a new spreadsheet. go to Tools>Macro>Macros and select this macro run it. and
Exercise 2 90 Days
1. Click in any cell. 3. Macro Name = days 4. Short cut = Ctrl + d
90 Days This macro will create and format the days of the week.
5. Store Macro In = Personal Macro Book 6. OK 7. Click the Relative Reference button on the Record Macro toolbar 8. Type Monday 9. Use the fill handle to drag across 6 more cells thereby completing the series to Sunday 10. Click Format, Cells