EXCEL 2007 MACROS.  TOM FARRAR OF CNEXTWAVE INC.  GOAL : LEARNING ABOUT EXCEL MACROS.  PRESENTATION INCLUDES DISCUSSION AND DEMONSTRATION.  QUESTIONS.

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.
Essence of programming  Branching  Repetitions.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Excel Project 7 Using Macros and Visual Basic for Applications (VBA) with Excel.
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 Excel 2003, Second Edition- Tutorial 8 1 Microsoft Office Excel 2003 Tutorial 8 – Developing an Excel Application.
Microsoft Office Excel 2013 Core Microsoft Office Excel 2013 Core Courseware # 3253 Lesson 8: Macros, Importing and Exporting Data.
Tutorial 12: Enhancing Excel with Visual Basic for Applications
With Microsoft Excel 2010 © 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Excel 2010.
Excel and VBA Creating an Excel Application
Microsoft Excel 2003 Illustrated Complete with Excel Programming.
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
Microsoft Office Excel 2013 Core Microsoft Office Excel 2013 Core Courseware # 3253 Lesson 2: Constructing Cell Data.
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.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Exploring Microsoft Excel 2002 Chapter 8 Chapter 8 Automating Repetitive Tasks: Macros and Visual Basic for Applications By Robert T. Grauer Maryann Barber.
1 Macros Presented by Maria G. Martinez. 2 What's a macro?  Macro - set of computer instructions that you can record and associate with a shortcut key.
University of Delaware Information Technology User Services.
Introduction to VBA. This is not Introduction to Excel We’re going to assume you have a basic level of familiarity with Excel If you don’t, or you need.
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.
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-
Automating Tasks with Visual Basic. Introduction  When can’t find a readymade macro action that does the job you want, you can use Visual Basic code.
Microsoft Excel Macros & Excel Solver (IENG490)
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Excel 2010 © 2011 The McGraw-Hill Companies,
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.
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Microsoft Office Excel Copyright © 2008 Pearson Prentice Hall. All rights reserved
Computer Science & Engineering 2111 Lecture 9 Data Validation, Worksheet Protection, and Macros 1CSE Data Validation and Macros.
Chapter 12: Recording Macros Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
ME 142 Engineering Computation I Macros. Key Concepts Macro Overview Recording a Macro Running a Macro Editing a Macro.
Visual Basic for Applications Macro Programming For Microsoft Office.
Intro to Excel - Session 7.31 Tutorial 7 - Session 7.3 Developing an Excel Application.
Excel VBA TOM VORVES DO THE ACTIVITY EXERCISE ON PAGE 53 IF YOU WISH ElaineNikky JennArrinMylinh Matt Move Row.
Key Applications Module Lesson 21 — Access Essentials
Chapter 9 Macros And Visual Basic For Applications.
Chapter 11: Introduction to VBA Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
Introduction to Excel VBA UNC Charlotte CPE/PDH Series December 17, 2009.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft® Excel 2013.
Microsoft Office 2003: Advanced 1 ADVANCED MICROSOFT EXCEL Lesson 17 – Working with Multiple Worksheets and Workbooks.
Excel Macros 1 Macros or, How to Automate Part of Your Spreadsheet or Worksheet.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
Introduction to Microsoft Excel Macros COE 201- Computer Proficiency.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft® Excel 2013.
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.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
Chapter 11 Enhancing an Online Form and Using Macros Microsoft Word 2013.
Excel Tutorial 8 Developing an Excel Application
Exploring Excel Chapter 7 Automating Repetitive Tasks: Macros and
Microsoft Office Illustrated
Excel VBA Day 3 of 3 Tom Vorves.
Microsoft Excel 2003 Illustrated Complete
Introducing Microsoft Office 2010
Exploring Microsoft® Excel® 2016 Series Editor Mary Anne Poatsy
Exploring Microsoft Excel
ME 142 Engineering Computation I
Lesson 1 - Automating Tasks
Objectives At the end of this session, students will be able to:
Welcome to Learn Excel Tips to become zero to hero in EXCEL.
Microsoft Office Excel 2003
Microsoft Excel 2007 – Level 2
Excel Tips & Shortcuts For Beginners
Presentation transcript:

EXCEL 2007 MACROS

 TOM FARRAR OF CNEXTWAVE INC.  GOAL : LEARNING ABOUT EXCEL MACROS.  PRESENTATION INCLUDES DISCUSSION AND DEMONSTRATION.  QUESTIONS DURING OR AFTER THE PRESENTATION.

PRIMARY NAVIGATION:  THE RIBBON  THE QUICK ACCESS TOOLBAR (QAT)  KEYBOARD SHORTCUTS

 RECORDED OR WRITTEN VBA CODE  RECORDED WORKS LIKE A TAPE RECORDER  WRITTEN VBA IS SIMILAR TO PROGRAMMING CODE  USED TO AUTOMATE REPETITIVE TASKS  TURN MULTIPLE MOUSE “CLICKS” INTO ONE

RECORDING MACROS EDITING MACROS ASSIGNING MACROS TO TOOLBAR PROTECTING THE MACRO ADVANCED MACROS

RECORDING A MACRO

PLAN MACRO RECORD MACRO (DEVELOPER RIBBON) NAME MACRO SHORTCUT KEY (OPTIONAL) WHERE STORED DESCRIPTION (OPTIONAL) ENTER STEPS STOP RECORDING

 PERSONAL WORKBOOK  “THIS” WORKBOOK  OTHER WORKBOOK

 NameOne Macro  NameTwo Macro  NameThree Macro  TodaysDate Macro

EDITING A MACRO

THE VBA EDITOR READING A MACRO EDITING A MACRO

PROJECT EXPLORER MODULES PROPERTIES WINDOW CODE WINDOW

SUB/MACRO NAME COMMENTS MACRO CODE

OBJECT-ORIENTED CODE OBJECTS, PROPERTIES, METHODS, EVENTS, & COLLECTIONS EXAMPLES OF OBJECT: CELL, WORKSHEET, RANGE EXAMPLES OF PROPERTIES: NAME, COLOR, HEIGHT EXAMPLES OF METHODS: SELECT, COPY, OFFSET FOR INSTANCE, RANGE(“B3”).SELECT OR, WORKSHEETS(1).NAME=“INVOICE”

Object A "thing" Worksheet Method Something a "thing" can do Add a "thing" Property A characteristic of a "thing" Name

EDIT RECORDED MACROS RECORD/EDIT “PASTE VALUES” RECORD/COMBINE MACROS

ASSIGN MACRO TO TOOLBAR

PROTECTING THE MACRO

ADVANCED MACROS

SUBROUTINE MACRO CUSTOMIZED FUNCTION INTERACTIVE MACRO IF/THEN/ELSE ROUTINES CALENDAR MACRO

A MACRO OPERATING INSIDE ANOTHER MACRO CAN BREAK A COMPLEX MACRO INTO SMALLER PARTS OR PROVIDE USERS A CHOICE, LIKE CHOICE “A” OR CHOICE “B” LET’S TRY ONE….

USED TO EXECUTE COMPLICATED CALCULATIONS PROTECT CALCULATION DETAILS AVAILABLE WITH OTHER STANDARD EXCEL FUNCTIONS LET’S TRY ONE….

BREAK IN MACRO REQUIRING USER ACTION BEFORE CONTINUING USED FOR INPUT, MESSAGE, OR STATUS-BAR BOXES REQUIRING ATTENTION LET’S TRY ONE…..

SIMILAR TO PREVIOUS SUBROUTINE EXAMPLE CREATE THE “IF” FIRST THEN ADD THE “ELSE” CODE THEN ADD THE “ELSEIF” CODE LET’S TRY ONE…..

INTERNET DOWNLOAD EXAMPLE EXAMPLE

CALENDAR DATES TO REPORT

 MACROS AUTOMATE TASKS  MACROS ARE RECORDED OR WRITTEN  VBA IS THE BACKGROUND “CODE” FOR MACROS  RECORDED MACROS CAN BE EDITED BY YOU  WITH PRACTICE, YOU CAN GET PRETTY GOOD AT MACROS

TIMESAVING KEYSTROKES

CTRL/X - CUT CTRL/Y - COPY CTRL/V - PASTE CTRL/Z - UNDO CTRL/Y - REDO CTRL/F - FIND CTRL/G - GO TO CTRL/L & CTRL/T – CREATE LIST