Dont be afraid of macros learn how to create and effectively use them.
When you find yourself repeating actions in Excel, whether its a fivestep sequence you use when formatting a certain cell type or the 30 steps you use when you sort, filter, and print multiple worksheets once a week, the possibility exists that you can automate these actions in the form of a macro. Thereafter, you can perform these sets of actions with a simple keystroke combination, a button in a worksheet, or by using a button in the Quick Access toolbar. This topic shows you how to create these macro shortcuts, alerts you to situations ideal for creating macros, and explores the actual code, in the language called Visual Basic, created when you record command sequences. This is not a course in Visual Basic, but you will get a quick look at it and understand its role in creating and using macros. Creating a macro may ultimately involve programming techniques but most macros are developed by recording the way you use standard Excel commands. This topic will show you how to create macros and give you examples of various macros that handle large amounts of information and interact with multiple files. You will also see how to activate a macro with commands, buttons, keystrokes, or pictures.
Rationale for Using a Macro – Why?
• Frequent Use of Lengthy Command Sequence
• Sort/Print/Re-Sort/Print Sequence
• Length Data Manipulation Need
Steps Used to Record a Short Macro
• Naming the Macro
• Assigning a Keystroke Shortcut
• Storing the Macro
• Avoiding Pitfalls While Recording
How to Run (Play Back, Execute) a Macro
• Keystroke Shortcut; Command
• Button in the Quick Access Toolbar
• Worksheet Picture or Clipart
• Quick View
– Comments and Commands
• Editing Code
• Viewing Code as You Record a Macro
Using the Step Method to Test a Macro Slowly
Using IF Logic in a Macro to Create Different Actions Based on Changing Conditions
Extend the Power of Macros to Perform Tasks You Cannot Achieve With Standard Excel® Features
Dennis Taylor with Taylor Associates
AIPB ,ASAP PACE ,CPE ,IAAP ,Additional credit may be available upon request.