excel

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Excel

Excel

resolvedResolved · Low Priority · Version 2000

Eelco has attended:
Excel Intermediate course

Excel

How to write macro's

RE: Excel

Hi Eelco, welcome to the forum, thank you for your post; the writing/editing and using of macros is covered comprehensively in our Excel Advanced and Excel VBA courses.
But to answer your question; a macro is a recording of mouse clicks and/or of keyboard entries which are recorded by Excel and played back (like a tape recording) whenever required, a macro is usually recorded to undertake mundane or repetitive tasks.
Unless you are employing VBA you are not really writing macros, you are recording them.
To record a macro, go to the Menu command Tools>Macro and choose the option Record New Macro, name your Macro in the dialog box and observe Store macro in: drop down box, this gives you three choices, if you wish your macro to be available to you in every workbook you open, choose the Personal Macro Workbook option, the other two are self explanatory. Observe the little floating toolbar which opens, the option to have your new macro work either Absolute (always in the same cells) or Relative, (within the same pattern from a chosen cell, but anywhere in the worksheet.) Undertake the task you wish to record, when you have completed the task, click the Stop Recording button (the little square, usually blue) Excel will remember all your mouse clicks and key presses, and replay them when you go to the menu command Tools>Macro and choose Macros, select your named Macro and press the button Run. This action can be automated by creating a button either on screen or on your toolbars and assigning the chosen macro to it, or by creating a Keyboard shortcut and assigning the macro to that. I hope this has helped, if so please click the Resolved link, best regards Pete.

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Copying Formulae Quickly

There is a quicker way of copying a formula down a column.

Just point and double click on the black autofill handle in the right hand corner of a cell.

This will work providing you have some data in the column to the left of the column.

Sandy

View all Excel hints and tips


Server loaded in 0.08 secs.