Excel 2007 Introduction to Macros



Similar documents
Macros in Word & Excel

Word 2010: Mail Merge to with Attachments

Excel basics. Before you begin. What you'll learn. Requirements. Estimated time to complete:

Merging Labels, Letters, and Envelopes Word 2013

How To Use Data Validation In Excel

Excel macros made easy

Working with Macros and VBA in Excel 2007

Outlook Quick Steps & Rules

Microsoft Excel 2013: Macro to apply Custom Margins, Titles, Gridlines, Autofit Width & Add Macro to Quick Access Toolbar & How to Delete a Macro.

Automate tasks with Visual Basic macros

Microsoft Excel 2013: Using a Data Entry Form

EXAMPLE WITH NO NAME EXAMPLE WITH A NAME

MS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros.

Introduction to Microsoft Excel 2010

Sample- for evaluation purposes only! Advanced Excel. TeachUcomp, Inc. A Presentation of TeachUcomp Incorporated. Copyright TeachUcomp, Inc.

Migrating to Excel 2010 from Excel Excel - Microsoft Office 1 of 1

Microsoft Excel 2007 and Tools for Statistical Analysis David R. Anderson, Dennis J. Sweeney, and Thomas A. Williams

Microsoft Access 2010 Part 1: Introduction to Access

Advanced Excel 10/20/2011 1

Reduced Quality Sample

VBA PROGRAMMING FOR EXCEL FREDRIC B. GLUCK

Microsoft Office Macros. Presentation Conventions

Tommy B. Harrington 104 Azalea Drive Greenville, NC

Using the Ribbon in Microsoft Office 2013 SPSCC Student Computing Center By: Bobby Coleman

Word 2007 Unit B: Editing Documents

Enhancing the SAS Enhanced Editor with Toolbar Customizations Lynn Mullins, PPD, Cincinnati, Ohio

Microsoft Excel 2010 and Tools for Statistical Analysis

Instructions for Creating an Outlook Distribution List from an Excel File

Microsoft Word Level 3

How To Use Excel 2010 On Windows 7 (Windows 7) On A Pc Or Mac) With A Microsoft Powerbook (Windows Xp) On Your Computer Or Macintosh (Windows) On Windows Xp (Windows 2007) On Microsoft Excel 2010

Microsoft Excel 2013: Headers and Footers

No restrictions are placed upon the use of this list. Please notify us of any errors or omissions, thank you,

Explore commands on the ribbon Each ribbon tab has groups, and each group has a set of related commands.

Move between open workbooks. Display the print menu. Select whole spreadsheet. Microsoft Excel Keyboard Keys. General

Overview of sharing and collaborating on Excel data

Microsoft Excel Introduction to Microsoft Excel 2007

Microsoft Access 2007 Advanced Queries

Organizing and Managing

Introduction to Microsoft Access 2003

SPSS for Windows importing and exporting data

Getting Started Guide. Chapter 14 Customizing LibreOffice

Notepad++ The COMPSCI 101 Text Editor for Windows. What is a text editor? Install Python 3

Import Data to Excel Start Excel.

Transitioning from TurningPoint 5 to TurningPoint Cloud - LMS 1

MICROSOFT EXCEL 2011 MANAGE WORKBOOKS

Symantec Enterprise Vault

Creating tables of contents and figures in Word 2013

Advanced Microsoft Excel 2013

Microsoft Access 2010 Overview of Basics

Setting Up Database Security with Access 97

Handout: How to Use Excel 2010

How To Understand The Basic Concepts Of A Database And Data Science

Instructions for creating a data entry form in Microsoft Excel

Basic Microsoft Excel 2007

The Application Getting Started Screen is display when the Recruiting Matrix 2008 Application is Started.

Measuring Success Information Collection & Evaluation (ICE) Tool User's Guide

Excel 2013 What s New. Introduction. Modified Backstage View. Viewing the Backstage. Process Summary Introduction. Modified Backstage View

Using the Advanced Tier Data Collection Tool. A Troubleshooting Guide

Microsoft Word Using the Track Changes Feature Last Updated: 2/15/2008

Introduction to Word 2007

Outlook . User Guide IS TRAINING CENTER. 833 Chestnut St, Suite 600. Philadelphia, PA

STC: Descriptive Statistics in Excel Running Descriptive and Correlational Analysis in Excel 2013

CJA 20. Automated Billing Program Attorney Training Guide EXCEL BILLING FOR CJA CASES. Page 1

Windows XP Pro: Basics 1

Microsoft Excel 2010 Linking Worksheets and Workbooks

Excel 2010: Create your first spreadsheet

Importing Contacts to Outlook

Using Microsoft Office XP Advanced Word Handout INFORMATION TECHNOLOGY SERVICES California State University, Los Angeles Version 1.

Word 2007: Basics Learning Guide

Planning and Managing Projects with Microsoft Project Professional 2013

1. a procedure that you perform frequently. 2. Create a command. 3. Create a new. 4. Create custom for Excel.

How To Create A Hyperlink In Publisher On Pc Or Macbookpress.Com (Windows) On Pc/Apple) On A Pc Or Apple Powerbook (Windows 7) On Macbook Pressbook (Apple) Or Macintosh (Windows 8

Skill Set 4. Macros. By the end of this Skill Set you should be able to: Record a Macro Run a Macro Assign a Macro Create a Multiple Action Macro

Planning and Managing Projects with Microsoft Project Professional 2013

Keyboard shortcuts in Excel Keyboard access to the ribbon. In this article WILL MY OLD SHORTCUTS STILL WORK? Hide All

set in Options). Returns the cursor to its position prior to the Correct command.

Mail Merge Creating Mailing Labels 3/23/2011

Use signatures in Outlook 2010

Microsoft PowerPoint 2013 Keyboard shortcuts

Keyboard Shortcuts Instead of the Mouse NOTES

Handout: Word 2010 Tips and Shortcuts

MICROSOFT EXCEL 2010 ANALYZE DATA

SPSS: Getting Started. For Windows

Transitioning from TurningPoint 5 to TurningPoint Cloud - NO LMS 1

Managing Identities in Outlook Express

Here is a Trial Balance sample, generated and exported into an Excel spreadsheet, by an accounting software*

Microsoft Office 2013

Highline Excel 2016 Class 26: Macro Recorder

How To Create A Report In Excel

Internet Explorer 7. Getting Started The Internet Explorer Window. Tabs NEW! Working with the Tab Row. Microsoft QUICK Source

Microsoft Office 2010: Introductory Q&As PowerPoint Chapter 1

Last updated: October 4, einvoice. Attorney Manual

There are several ways of creating a PDF file using PDFCreator.

Advanced Presentation Features and Animation

Exercise 4 - Practice Creating Text Documents Using WordPad

Excel. Microsoft Office s spreadsheet application can be used to track. and analyze numerical data for display on screen or in printed

Microsoft Dynamics GP. Extender User s Guide

Indiana County Assessor Association Excel Excellence

Using Outlook 2010 for

Transcription:

Excel 2007 Introduction to Macros Collection (www.uwec.edu/help) developed by the University of Wisconsin-Eau Claire and copyrighted by the University of Wisconsin Board of Regents. Used by permission.

Table of Contents Automating Excel with Macros... 2 Creating & Recording a New Macro... 2 Running a Macro... 3 Suspending & Resuming a Macro... 4 Deleting a Macro... 4

Automating Excel with Macros A macro is a shortcut for performing a series of actions in an Excel worksheet. Macros are useful for automating complex or repetitive tasks, especially if the work is being shared, because it is easier to explain one step (i.e., activate the macro) than it is to explain several steps. Once a macro is created, you can activate it by using the Macro dialog box or by pressing a keyboard combination. Creating & Recording a New Macro 1. From the Developer command tab, in the Code group, click RECORD MACRO The Record Macro dialog box appears. 2. In the Macro name text box, type a name for the new macro NOTE: A macro name must begin with a letter and contain no spaces or special characters. Underscores ( _ ) are permissible. 3. OPTIONAL: In the Shortcut key text box, type a letter that will be used to activate the macro NOTES: The shortcut key must be either an uppercase or lowercase letter. Macro shortcut keys will override any existing shortcuts while the workbook with the macro is open (e.g., copying with [Ctrl] + [C], underlining with [Ctrl] + [U]). 4. To save the macro to the workbook that is currently open, from the Store macro in pull-down list, select This Workbook To save the macro to a new workbook, from the Store macro in pull-down list, select New Workbook To save the macro to Excel for use in any workbook, from the Store macro in pull-down list, select Personal Macro Workbook 5. OPTIONAL: In the Description text box, type a summary of the macro's function or any other information

6. Click OK The Record Macro dialog box closes and the macro begins recording. 7. Perform the exact series of commands you want the macro to accomplish 8. When finished, from the Developer command tab, in the Code group, click STOP RECORDING The recording stops and the macro is saved. Running a Macro You can run a macro only after it has been created and recorded. Once you have chosen to run a macro, the macro will complete its commands until finished or until you suspend the macro. WARNING: You should save your workbook before running a macro. If the macro's results are undesirable, you can close the workbook without saving and then reopen it, preserving the state of your workbook before using the macro. Running a Macro: Ribbon Option 1. OPTIONAL: If the insertion point is critical, set it in the appropriate location NOTE: This step will be useful if the macro's commands require you to begin in a specific cell. 2. From the Developer command tab, in the Code group, click MACROS The Macro dialog box appears. 3. From the Macro name scroll box, select the macro you want to run 4. Click RUN The Macro dialog box closes and the selected macro performs the steps it recorded.

Running a Macro: Keyboard Option If a macro was given a keyboard shortcut when creating it, you can use the shortcut to run the macro. 1. OPTIONAL: If the insertion point is critical, set it in the appropriate location NOTE: This step will be useful if the macro's commands require you to begin in a specific cell. 2. Press the appropriate keyboard combination The macro runs. Suspending & Resuming a Macro If you need to, you can suspend (i.e., stop or pause) a macro's progress after you have chosen to run it. 1. After you have started a macro, press [Esc] The macro is suspended. 2. To complete the macro, run it The macro resumes where it was suspended. Deleting a Macro If you no longer need a macro, you can delete it. Once a macro has been deleted, it is no longer available in any workbook; however, changes that have already been made by the macro will not be undone. 1. From the Developer command tab, in the Code group, click MACROS The Macro dialog box appears. 2. From the Macro name scroll box, select the macro you want to delete 3. Click DELETE A confirmation dialog box appears. 4. To confirm the deletion, click YES The macro is deleted and the Macro dialog box closes. 5. To delete more macros, repeat steps 1 4