G042 - Lecture 15 Excel Macros Mr C Johnston ICT Teacher www.computechedu.co.uk.

Slides:



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

Document Properties: adding information to your Microsoft Office documents Step 1: Add information to Document Properties What are Document Properties.
Microsoft ® Office Word 2007 Training Edit text and revise your documents P J Human Resources Pte Ltd presents:
Overview Lesson 1. Objectives Step-by-Step: Start Excel 1.Click the Start menu, and then click All Programs. 2.On the list of programs, click Microsoft.
Microsoft Excel 2003 To start Excel, click the start button. A slightly different procedure might be required for computers on a network. If you need assistance,
Welcome to IT-Training -We’re here to teach you PowerPoint-
Developing an Excel Application
Tutorial 8: Developing an Excel Application
Introduction to Excel Chapter 2 Excel Fundamentals Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Loading Excel Double click the Excel icon on the desktop (if you have this) OR Click on Start All Programs Microsoft Office Microsoft Office Excel 2003.
Templates and Styles Excel Advanced. Templates are pre- designed and formatted spreadsheets –They provide consistency of layout/structure –They.
Microsoft Office Excel 2013 Core Microsoft Office Excel 2013 Core Courseware # 3253 Lesson 8: Macros, Importing and Exporting Data.
Microsoft ® Office Word 2007 Training Edit text and revise your documents [Your company name] presents:
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.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
ICT Homework Zak Barwell. Spreadsheets A computer program used chiefly for accounting, in which figures are arranged in the rows and columns of a grid.
Keyboard shortcuts in the 2007 Office system Introducing the Ribbon Based on extensive research into how people use Microsoft Office and how they wish.
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
1 ONE TIME PRINT SETUP To print Requisitions from Banner, follow this process once: Open Microsoft Excel, select (1) TOOLS, then (2) MACROS, then (3) SECURITY.
PowerPoint High Quality (1080p) Export PowerPoint makes a great platform to develop and create images and animation to be used on your digital signage.
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.
ME 142 Engineering Computation I Macros. Key Concepts Macro Overview Recording a Macro Running a Macro Editing a Macro Using Controls.
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.
Lecture Roger Sutton CO357 Computing for Business and Accounting 13: Automation and Control (Macros and Form controls ) 1.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 1 – Access Basics.
XP New Perspectives on Introducing Microsoft Office XP Tutorial 1 1 Introducing Microsoft Office XP Tutorial 1.
Excel Worksheet Basics Terminology Navigation The Ribbon 1 Nolan Tomboulian Tomboulian.wikispaces.com.
Summer Term 2010 D.Garey OCR Nationals Level 3 Unit 3 – Problem Solving AO3 Collect data and store it using a spreadsheet.
Macros n Macros are little programs that you can create to automate particular tasks that you may want to execute more easily than having to specify all.
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.
Microsoft Excel Macros & Excel Solver (IENG490)
9/17/2015PowerPoint Differences Between Excel 2003 to 2007 Purdue University Calumet Excel 2003 Excel 2007.
Chapter 1 Databases and Database Objects: An Introduction
European Computer Driving Licence Syllabus version 5.0 Module 4 – Spreadsheets Chapter 22 – Functions Pass ECDL5 for Office 2007 Module 4 Spreadsheets.
Introduction to VBA MGMI Aug What is VBA? VBA = Visual Basic for Application Excel’s powerful built-in programming language An event-driven.
44221: Information Systems Lecture 8 (Week 10) Spreadsheet Automation By Ian Perry
 Starting Excel 2003  Using Help  Workbook Management  Cursor Management  Manipulating Data  Using Formulae and Functions  Formatting Spreadsheet.
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
Chapter 4—Creating your First Document
Microsoft Office Excel Lesson An introduction to the basic use of Excel By: Samantha Simons.
Spreadsheets in Finance and Forecasting Presentation 9 Macros.
G042 - Lecture 16 Testing Your Spreadsheet Mr C Johnston ICT Teacher
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 1 Introduction.
Chapter 12: Recording Macros Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Just as there are many human languages, there are many computer programming languages that can be used to develop software. Some are named after people,
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.
Overview Lesson 1 Miami Beach Senior High School Academy of Information Technology 1.
Edit text and revise your documents Make changes to your document Documents get changed. You may make changes as you type, or after you finish the document.
Introduction to Microsoft Excel Macros COE 201- Computer Proficiency.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT OUTLOOK Lesson 3 – Working with Other Outlook Tools.
G043: Lecture 11 Task D Guidance Mr C Johnston ICT Teacher
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.
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.
Pupil Name OCR Nationals in ICT (2010) : Unit 06: Design a SpreadsheetsAO6 - Macros.
Excel Tutorial 8 Developing an Excel Application
June 17, 2009 Office 2007 Tips & Tricks.
Microsoft Excel.
Computer Fundamentals
Mail Merge And Macros in MS WORD
Microsoft Excel 101.
Microsoft Excel 2003 Illustrated Complete
ME 142 Engineering Computation I
Macro.
Presentation transcript:

G042 - Lecture 15 Excel Macros Mr C Johnston ICT Teacher

Session Objectives Understand what a macro is and how they can be used to create more efficient spreadsheets, Created macros which satisfy the marking requirements of task d.

Macro Overview A macro is a computer program which automatically carries out a number of tasks one after another. As macros carry out several tasks one after another they cut down on the number of key presses required so make spreadsheets faster. Luckily you don’t need to program the macros there is a handy recorder which records the key stokes for you. To run a macro you can either setup a keyboard short cut or add a button.

Recording A Macro Office Go to Tools, Macro, Record New Macro… 2.Give the macro a name (no spaces) and assign a short cut key 3.Carry out the tasks on the spreadsheet which you want the macro to perform. Press the stop button to finish

Recording A Macro Office Select Macros > Record Macro… from the view ribbon 2.Give the macro a name (no spaces) and assign a short cut key 3.Carry out the tasks on the spreadsheet which you want the macro to perform. When finished Goto Macros > Stop Recording from the view ribbon

Run Macros From A Button Office Go to View, Toolbars, Forms to display the forms toolbar. 2.Click on the button and draw where you want the button to be on the worksheet. 3.Select the macro from the list to be triggered by the macro. 4.Click on the button to rename it

Run Macros From A Button Office Enable the developer ribbon by right clicking on a blank piece of the ribbon and selecting customize ribbon and placing a tick in the developer ribbon box, 2.From the Inset icon on the developer ribbon select Button(Form Control) and draw it in the required position on the screen, 1. 2.

Run Macros From A Button Office Once you have drawn your button, a window will appear – select the macro which you want it to trigger, 4.Right click on the button to give it a suitable name. 3.

Criteria For band 2 of task d you need to make some macros which do something useful to assist with the input of data (later) and processing / outputting of results. It would also be useful (although doesn’t gain many marks) to produce a menu system.

Possible Macro Use 2009 Ideas generated by 12A

Debug Error If you try to edit graphs (titles, formatting etc.) whilst recording a macro, the macro when run will probably bring up a debug error. This is because the name of the graph created whilst recording the macro will be different to ones created when the macro is run so excel doesn’t know what to do, The solution is to edit the macro code so it has a fixed name which can be referenced by the code. Chart 3 is referenced in the code however the macro this time has made Chart 15

Debug Error Add in code above the highlighted error to give the chart a name: Activechart.Parent.Name = “[name of chart]” Example: