Excel Macros 1 Macros or, How to Automate Part of Your Spreadsheet or Worksheet.

Slides:



Advertisements
Similar presentations
Introduction to Macro Introduction to Visual Basic for Application Recording a Macro Looking at the code of Recorded Macro.
Advertisements

© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 2Managing and Integrating Data and the Excel Environment Chapter 7Automating Repetitive Tasks.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 6 BACKNEXTEND 6-1 LINKS TO OBJECTIVES Workbook properties Workbook properties Workbook Sharing.
Using Macros and Visual Basic for Applications (VBA) with Excel
Tutorial 7: Developing an Excel Application
Developing an Excel Application
Tutorial 8: Developing an Excel Application
XP New Perspectives on Microsoft Office Excel 2003 Tutorial 1 1 Microsoft Office Excel 2003 Tutorial 1 – Using Excel To Manage Data.
© 2002 ComputerPREP, Inc. All rights reserved. Excel 2000: Customizing Excel and Using Macros.
XP New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8 1 Microsoft Office Excel 2003 Tutorial 8 – Developing an Excel Application.
XP Microsoft Excel Lecture -5- By lec. (Eng.) Hind Basil University of technology Department of Materials Engineering.
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
Macros Excel built-in functions are great but limited Macros are a means for the user to define new functions A macro is a single command that automates.
XP 1 ﴀ New Perspectives on Microsoft Office 2003, Premium Edition Excel Tutorial 1 Microsoft Office Excel 2003 Tutorial 1 – Using Excel To Manage Data.
Using the Visual Basic Editor Visual Basic for Applications 1.
Adding Automated Functionality to Office Applications.
Macros in Excel Intro to lab 1. Macroinstructions Macro is recorded in VBA module sequence of Excel operations Macros can automate tasks in Excel Macro.
Excel Lesson 14 Creating and Using Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Macros and VBA A macro is a set of instructions that tells Excel which commands to execute.
Word Lesson 16 Working with Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
Computer Science & Engineering 2111 Data Validation and Macros 1 CSE 2111 Lecture-Data Validation and Macros.
Project 9 Using Visual Basic for Applications (VBA) to Customize and Automate Excel Jason C. H. Chen, Ph.D. Professor of Management Information Systems.
Microsoft Excel 2007 © Wiley Publishing All Rights Reserved. The L Line The Express Line to Learning L Line.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
1 CA201 Word Application Increasing Efficiency Week # 13 By Tariq Ibn Aziz Dammam Community college.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 7 BACKNEXTEND 7-1 LINKS TO OBJECTIVES Record & run a macro Record & run a macro Save as a macro-
Microsoft Excel Macros & Excel Solver (IENG490)
Introduction to VBA MGMI Aug What is VBA? VBA = Visual Basic for Application Excel’s powerful built-in programming language An event-driven.
Chapter 11: Introduction to the Visual Basic Environment Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University.
1 ADVANCED MICROSOFT WORD Lesson 16 – Customizing Features Microsoft Office 2003: Advanced.
Spreadsheets in Finance and Forecasting Presentation 9 Macros.
© 2011 Delmar, Cengage Learning Chapter 16 Annotating and Automating an Image.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Excel 2010 © 2011 The McGraw-Hill Companies,
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
The Advantage Series ©2005 The McGraw-Hill Companies, Inc. All rights reserved Chapter 11 Developing Applications Using Excel Microsoft Office Excel 2003.
ME 142 Engineering Computation I Macros. Key Concepts Macro Overview Recording a Macro Running a Macro Editing a Macro.
Intro to Excel - Session 7.31 Tutorial 7 - Session 7.3 Developing an Excel Application.
OCC Network Drives  H:\  P:\ 
Course ILT Excel basics Unit objectives Start Excel; open, save, and create new workbooks; work with multiple workbooks; get help; and close a workbook.
Key Applications Module Lesson 21 — Access Essentials
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 1 1 Microsoft Office Excel 2003 Using Excel To Manage Data.
Creating Macros in Excel Adding Automated Functionality to Excel & Office Applications.
P6 BTEC Level 3 Subsidiary Diploma in ICT. Automation The end user of a spreadsheet may be proficient in using the software, but the more that you automate.
Macros Lesson 7. Objectives 1. Create a macro. 2. Run a macro. 3. Edit a macro. 4. Copy, rename, and delete macros. 5. Customize menus and toolbars. After.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft® Excel 2013.
Lesson 14: Exploring Excel Learning Objectives After studying this lesson, you will be able to:  Explain ways Excel can help your productivity.
Insert a voice comment in Word 2007 Before you can add a voice comment for the first time, you need to add the Insert Voice command to the Quick Access.
Introduction to Microsoft Excel Macros COE 201- Computer Proficiency.
Chapter 2: Excel Basics and Formatting Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft® Excel 2013.
1 CA202 Spreadsheet Application Automating Repetitive Tasks with Macros Lecture # 12 Dammam Community College.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
Lesson 17 Mail Merge. Overview Create a main document. Create a data source. Insert merge fields into a main document. Perform a mail merge. Use data.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
Lesson 16-Templates and Wizards. Overview Use Word templates. Create new templates. Attach templates to documents. Modify templates. Use the Organizer.
Excel Tutorial 8 Developing an Excel Application
Spreadsheet Manager Training Module
Introduction to the MS Excel 2003
Computer Fundamentals
Microsoft Excel 2003 Illustrated Complete
Introducing VBA Macros
MS-Office It is a Software Package It contains some programs like
Creating Macros in Excel
Lesson 1 - Automating Tasks
Microsoft Office Excel 2003
III. Responsibilities of Admin
Microsoft Excel 2007 – Level 2
Presentation transcript:

Excel Macros 1 Macros or, How to Automate Part of Your Spreadsheet or Worksheet

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

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.

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

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