44221: Information Systems Lecture 8 (Week 10) Spreadsheet Automation By Ian Perry

Slides:



Advertisements
Similar presentations
Lesson 12 Getting Started with Excel Essentials
Advertisements

Microsoft Excel. Click on “Start,” then “Microsoft Office Excel.”
Introduction to Microsoft Excel 2010 Chapter Extension 3.
WORKING SMART Crystal M. Thomas Henrico County DSS (804) POSSESS Central Region Member October 31, 2007.
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.
1 After completing this lesson, you will be able to: Create a workbook. Understand Microsoft Excel window elements. Select cells. Enter text, numbers,
Microsoft Excel Computers Week 4.
1 Excel Lesson 1 Understanding Excel Fundamentals Microsoft Office 2010 Fundamentals Story / Walls.
Excel Understanding Excel Fundamentals Microsoft Office 2010 Fundamentals 1.
Excel Lesson 1 Excel Basics. Task 1  Goals  Learn about Excel  Start Excel  Explore the Excel screen  Explore the Excel workbook  Explore the worksheet.
1 After completing this lesson, you will be able to: Add a header and footer to a worksheet. Change margins and center a worksheet. Change the orientation.
Further Adventures in Excel Adding those “Final Touches”…
Copyright 2003 Peter McDevitt 1 Microsoft Excel 2002 Lecture 3 – A Professional Looking Worksheet.
Microsoft Word Review.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 3 1 Microsoft Office Excel 2003 Tutorial 3 – Developing a Professional- Looking.
Practical Computing by Lynn Hogan. Practical Computing Chapter 8 Creating Spreadsheets (Using Microsoft Excel 2007)
Chapter 1 Introduction to Spreadsheet. Agenda Download the practice files Spreadsheet application Workbook and worksheet Toolbar Cell Formatting Printing.
Copyright 2003, Paradigm Publishing Inc. CHAPTER 4 BACKNEXTEND 4-1 LINKS TO OBJECTIVES Headers and Footers Margins Center a Worksheet Page Breaks Gridlines.
MS Excel Lesson 6 – Printing. MS Excel – Print Preview Set print area.
Excel Lesson 3 Organizing the Worksheet
Lecture 1 Introduction to Excel OVERVIEW Introduction Basics of Cells Modifying Columns and Rows Formatting Cells Saving Working with Formulas Basics.
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.
Spreadsheet. Objectives Create a new blank workbook. Create a new blank workbook. Identify user interface elements that you can use to accomplish basic.
1 Excel Lesson 3 Organizing the Worksheet Microsoft Office 2010 Introductory Pasewark & Pasewark.
XP 1 Microsoft Office Excel Developing a Professional-Looking Worksheet.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall.1 Exploring Microsoft Office Excel Copyright © 2008 Prentice-Hall. All rights.
Lesson 1 – Microsoft Excel The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
CTS130 Spreadsheet Lesson 5 Working with Simple Formulas.
Word Processing ADE100- Computer Literacy Lecture 12.
Excel Lesson 2 Business Forms. Task 1  Goals  Format cell data  Apply and modify cell styles.
11 Chapter 1: Introduction to Excel What Can I Do with a Spreadsheet Exploring Microsoft Office Excel 2007 Lecture Notes Chapter 01 (CSIT 104)
11 Exploring Microsoft Office Excel 2007 Chapter 4: Working with Large Worksheets and Tables Chapter 04 - Lecture Notes (CSIT 104)
44095: IT for Management Introduction to Spreadsheets (Basic/Complex Formulae & Worksheets) By:Ian Perry Room: C48 Tel:
Pasewark & Pasewark 1 Word Lesson 1 Word Basics Microsoft Office 2007: Introductory.
Microsoft Excel Spreadsheet Blue Section Project 2.
Spreadsheet A spreadsheet is the computer equivalent of a paper ledger sheet. It consists of a grid made from columns and rows. It is an environment that.
11 Exploring Microsoft Office Excel Copyright © 2008 Pearson Prentice Hall. All rights reserved. 2 Objectives Define worksheets and workbooks Use.
Microsoft Office Excel 2003 Tutorial 3 – Developing a Professional-Looking Worksheet.
44221: Information Systems Worksheets & Named Ranges By:Ian Perry Room: C41C Tel:
Spreadsheets in Finance and Forecasting Presentation 9 Macros.
Spreadsheet Operations These increase the efficiency of data entry, the performing of calculations, and the presentation of information.
Intro to Excel - Session 7.31 Tutorial 7 - Session 7.3 Developing an Excel Application.
MS Excel Introduction to Excel; What Can I Do with a Spreadsheet? Unit 5.
IC 3 BASICS, Internet and Computing Core Certification Key Applications Lesson 11 Organizing the Worksheet.
Chapter 1 Creating a Worksheet and a Chart
1 Lesson 12 Getting Started with Excel Essentials Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
1 Lesson 13 Organizing and Enhancing Worksheets Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
44221: Information Systems Lecture 7 (Week 9) Organising Data & Presenting Information By Ian Perry
Spreadsheets III: Layout and Charts Lecture 10, May 8, 2003 Mr. Greg Vogl Management Information Systems I Uganda Martyrs University.
Excel Lesson 1 Microsoft Excel Basics
Microsoft ® Excel 2010 Core Skills Lesson 5 Viewing and Printing Workbooks Courseware #: 3243 Microsoft ® Office Excel 2010.
Pasewark & Pasewark 1 Excel Lesson 3 Organizing the Worksheet Microsoft Office 2007: Introductory.
Cell Column Drawing Toolbar Formatting Toolbar Formula Bar Help Box Menu Bar Name Box Rows Standard Toolbar Title Bar Worksheet.
MICROSOFT WORD PRESENTATION. Word Processing  Software that is designed for the entry, editing, and printing of documents.  Windows Version = Microsoft.
Groups of cells labeled with letters that go up and down (vertical)
Chapter 5 Working with Multiple Worksheets and Workbooks Microsoft Excel 2013.
MS WORD INFORMATION TECHNOLOGY MANAGEMENT SERVICE Training & Research Division.
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.
 Text formatting can be done in a variety of ways! shadowing  Bold, italics, underline, shadowing, strikethrough, color are all possible options for.
Excel Tutorial 8 Developing an Excel Application
Copyright © 2016 Pearson Canada Inc.
Printing.
After completing this lesson, you will be able to:
European Computer Driving Licence
Microsoft Office Illustrated Introductory, Windows XP Edition
Lesson 1 - Automating Tasks
Macro theory © EIT, Author Gay Robertson, 2019.
Presentation transcript:

44221: Information Systems Lecture 8 (Week 10) Spreadsheet Automation By Ian Perry

Ian PerrySlide : Information Systems: Spreadsheet Automation Named Ranges & Macros As spreadsheets get larger and larger, and especially when a spreadsheet has multiple worksheets, it becomes increasingly difficult to: Print specific portions of the spreadsheet. Find your way around this complex 3D model. Named Ranges & Macros Provide ‘relatively easy to implement’ solutions to both of the above ‘problems’.

Ian PerrySlide : Information Systems: Spreadsheet Automation How would you print this?

Ian PerrySlide : Information Systems: Spreadsheet Automation Always use File, Print Preview Oops! Too wide forA4 with a Portrait Orientation Much better, but, what if I only want to print the table of data? Use ‘File’, ‘Page Setup…’ in order to change the Orientation to Landscape, and make a few other adjustments.

Ian PerrySlide : Information Systems: Spreadsheet Automation Set the Print Area Highlight the range you want to print. Use menu to: File Print Area Set Print Area Now, when you: File Print Preview

Ian PerrySlide : Information Systems: Spreadsheet Automation How would you print this? It is relatively easy to print it all, or to print any contiguous block of cells. BUT, what if I only want to print the data in Columns A, F, G & H? This is where named ranges come in very handy.

Ian PerrySlide : Information Systems: Spreadsheet Automation The ‘Shape’ of the Worksheet? Top QuartersMonths Left

Ian PerrySlide : Information Systems: Spreadsheet Automation To Name a Range? Highlight range to be defined. Use menu to: Insert Name Define … Name the range. Press OK

Ian PerrySlide : Information Systems: Spreadsheet Automation Now ‘File’, ‘Page Setup…’ Setting the: ‘Print area’ ‘Rows to repeat at top’ ‘Columns to repeat at left’ using the range names you have just defined. AND always remember to ‘Print Preview’, otherwise you may waste a lot of paper.

Ian PerrySlide : Information Systems: Spreadsheet Automation Macros What is a Macro? A series of stored commands (i.e. a program) that perform a specific task. The easiest way to create a Macro is to record it. Before you record a Macro, it is a good idea to plan the commands you want the Macro to perform. If you make a mistake when you record the Macro, any errors/corrections you make are also recorded. Having recorded the Macro: You can then then ‘run’ the Macro (in a number of ways), in order to repeat, or “play back”, the commands.

Ian PerrySlide : Information Systems: Spreadsheet Automation What are Macros used for? Macros can be used for almost anything you want to do with a spreadsheet. They are most useful when they are used: to automate repetitive tasks. and/or: to simplify complex tasks. We are going to use macros to: Automate the process of moving about a workbook containing multiple worksheets. Print specific sections, not necessarily in contiguous blocks, of a worksheet.

Ian PerrySlide : Information Systems: Spreadsheet Automation What do we want to achieve?

Ian PerrySlide : Information Systems: Spreadsheet Automation To Record a Macro – Step 1 ‘Tools’, ‘Macro’, ‘Record New Macro…’:

Ian PerrySlide : Information Systems: Spreadsheet Automation To Record a Macro – Step 2 Enter a suitable ‘Macro name’ & Choose a ‘Shortcut key’

Ian PerrySlide : Information Systems: Spreadsheet Automation To Record a Macro – Step 3 The ‘Stop Recording’ pop-up will appear. Simply select the ‘YearSum’ tab.

Ian PerrySlide : Information Systems: Spreadsheet Automation To Record a Macro – Step 4 The ‘YearSum’ Worksheet will be displayed. Select the ‘Blue’, ‘Stop Recording’ button.

Ian PerrySlide : Information Systems: Spreadsheet Automation To Run this new Macro Or: Select ‘Tools’, ‘Macro’, ‘Macros…’ from the menu system, choose the macro you want to run from the list presented in the ‘Macro’ pop-up window, and press the ‘Run’ button. Either: press the ‘Ctrl+Y’ keys at the same time.

Ian PerrySlide : Information Systems: Spreadsheet Automation To complete the Navigation Simply record another 4 Macros, in the same manner, using the following settings in the ‘Record a Macro’ pop-up window: Macro NameShort-cut Key GoToQtr1Ctrl+a GoToQtr2Ctrl+b GoToQtr3Ctrl+c GoToQtr4Ctrl+d Can now move from one Worksheet to any other using these Macros. BUT, what about Printing?

Ian PerrySlide : Information Systems: Spreadsheet Automation The Printing Plan! Set some ‘Named Ranges’, i.e.: SummaryTable and SummaryCharts Then record two Macros, that use; ‘File’, ‘Page Setup…’ to set the following: Page Orientation {Portrait or Landscape} Margins Center on page {Horizontally and/or Vertically} Sheet Print Area {SummaryTable or SummaryCharts} Print {Gridlines}

Ian PerrySlide : Information Systems: Spreadsheet Automation Set the ‘Named Ranges’ SummaryCharts (A1:K21) SummaryTable (A1:D9)

Ian PerrySlide : Information Systems: Spreadsheet Automation Recording a Printing Macro – Step 1 ‘Tools’, ‘Macro’, ‘Record New Macro…’:

Ian PerrySlide : Information Systems: Spreadsheet Automation Recording a Printing Macro – Step 2 ‘File’, ‘Page Setup…’, then on ‘Page’ tab: ‘Orientation’ = ‘Landscape’

Ian PerrySlide : Information Systems: Spreadsheet Automation Recording a Printing Macro – Step 3 On ‘Margins’ tab: ‘Center on page’ = ‘Horizontally’ & ‘Vertically’

Ian PerrySlide : Information Systems: Spreadsheet Automation Recording a Printing Macro – Step 4 On ‘Sheet’ tab: ‘Print area’ = ‘SummaryCharts’ ‘Print’ = ‘Gridlines’ Print Preview

Ian PerrySlide : Information Systems: Spreadsheet Automation Recording a Printing Macro – Step 5 Close the Print Preview window. Then stop the Macro Recording. AND Repeat for the other Print Range.

Ian PerrySlide : Information Systems: Spreadsheet Automation The Full set of Macros: OK, but: Having to remember the correct ‘Short-cut Key’, or go through the whole ‘Tools’, ‘Macro’, ‘Macros…’, etc. rigmarole is not very user-friendly – is it? Macro NameShort-cut Key GoToYearSumCtrl+y GoToQtr1Ctrl+a GoToQtr2Ctrl+b GoToQtr3Ctrl+c GoToQtr4Ctrl+d PrintSummaryChartsCtrl+s PrintSummaryTableCtrl+t

Ian PerrySlide : Information Systems: Spreadsheet Automation Associating Macros with Buttons - 1 Need to display the ‘Forms’ Toolbar; ‘View’, ‘Toolbars…’, ‘Forms’: Select the Button Control ‘Draw’ the Button

Ian PerrySlide : Information Systems: Spreadsheet Automation Associating Macros with Buttons - 2 When the ‘Assign Macro’ pop-up appears; Choose the Macro to assign to the Button, and press ‘OK’:

Ian PerrySlide : Information Systems: Spreadsheet Automation Associating Macros with Buttons – 3 ‘Right-Click’ on the Button; ‘Edit Text’ to make it more meaningful:

Ian PerrySlide : Information Systems: Spreadsheet Automation And there you have it! All that remains to be done, is to: Repeat the ‘Associate Macros with Buttons’ process for all of the other Macros. Then ‘Copy’ & ‘Paste’ the Buttons as and where required, so that the user can easily: Move from one Worksheet to any other Worksheet. Print Preview specific ranges of the ‘YearSum’ Worksheet. All without the user having to know very much about how to use Excel.