Download presentation
Presentation is loading. Please wait.
Published byHomer Gordon Modified over 9 years ago
1
Excel Macros 1 Macros or, How to Automate Part of Your Spreadsheet or Worksheet
2
Excel Macros 2 Macros Generally developed for repetitive tasks. Can be thought of as similar to some of the icon features and facilities provided Saves time Introduces high levels of accuracy and consistency Useful for other users who are not familiar with spreadsheet functions Can be used to create menus dialog boxes custom applications
3
Excel Macros 3 Macros Some other preliminary points: –Can be created by recording keystrokes or directly typing in commands Results are stored in a special spreadsheet known as a Visual Basic module Macros can be stored in the current workbook OR in a special file known as a Personal Macro Workbook. This provides a common area for storing macros. It is managed by Excel.
4
Excel Macros 4 Macros Quickest method for non-complex macros is to record the keystrokes and mouse clicks required to perform a procedure The Macro Recorder is used for this method Choose Tools, Record Macro, Record New Macro You should have a dialog box which gives you the opportunity to name a macro and to ‘mimic’ the operations required to perform a procedure (which is a set of activities or processes). When finished, click the Stop button, or choose Tools, Record Macro, Stop Recording
5
Excel Macros 5 Macros Playing back a Macro –Options: select from the dialog box or keystroke initiation or custom command from a menu Reviewing Macros –Each macro is stored in a workbook and is in Visual Basic code –Entries may be edited (modified, added or deleted) –Final version becomes the current (operating) version
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.