Excel Tutorial 8 Developing an Excel Application

Slides:



Advertisements
Similar presentations
Introduction to Excel This class is “HANDS-ON” you will need to open up an excel spreadsheet and do examples as you go along. Students will be able to.
Advertisements

Office 2003 Advanced Concepts and Techniques M i c r o s o f t Excel Project 4 Financial Functions, Data Tables, Amortization Schedules, and Hyperlinks.
Benchmark Series Microsoft Access 2010 Level 1
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 2Managing and Integrating Data and the Excel Environment Chapter 7Automating Repetitive Tasks.
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.
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.
Chapter 4 Financial Functions, Data Tables, and Amortization Schedules
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
1 After completing this lesson, you will be able to: Create a workbook. Understand Microsoft Excel window elements. Select cells. Enter text, numbers,
XP New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8 1 Microsoft Office Excel 2003 Tutorial 8 – Developing an Excel Application.
Excel Lesson 1 Excel Basics. Task 1  Goals  Learn about Excel  Start Excel  Explore the Excel screen  Explore the Excel workbook  Explore the worksheet.
Objectives 1.Identify the functions of a spreadsheet 2.Identify how spreadsheets can be used. 3.Explain the difference in columns and rows. 4.Locate specific.
Microsoft Excel 2010 Chapter 7
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
Microsoft Excel 2003 Illustrated Complete Excel and Advanced Worksheet Management Customizing.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 8 Working with Macros and Visual Basic for Applications (VBA)
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.
Microsoft Office Word 2013 Core Microsoft Office Word 2013 Core Courseware # 3250 Lesson 8: Using Productivity Tools.
Access Tutorial 10 Automating Tasks with Macros
LOGO Chapter V Formattings 1. LOGO Overview  Conditional formatting  Working with tables  Filtering  Sorting  Freeze panes  Pivot tables  How to.
Project 9 Using Visual Basic for Applications (VBA) to Customize and Automate Excel Jason C. H. Chen, Ph.D. Professor of Management Information Systems.
© 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-
Key Applications Module Lesson 16 — Excel Essentials Computer Literacy BASICS.
Verify your data entry You could use data types and field properties for adding any validation on your date: EX: Data type: number : allow the user to.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Microsoft Office Excel Copyright © 2008 Pearson Prentice Hall. All rights reserved
MICROSOFT WORD 2007 INTERMEDIATE/ADVANCED. CREATE A NEW STYLE BASED ON A SELECTED TEXT HOME tab > STYLES group dialog launcher > at the bottom of the.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 1 Introduction.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Intro to Excel - Session 7.31 Tutorial 7 - Session 7.3 Developing an Excel Application.
Microsoft Access 2010 Chapter 10 Administering a Database System.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft® Excel 2013.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
Overview Lesson 1 Miami Beach Senior High School Academy of Information Technology 1.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
Microsoft Excel Prepared by the Academic Faculty Members of IT.
Chapter 11 Collaboration Features for Workbooks Microsoft Excel 2013.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
Chapter 4 Financial Functions, Data Tables, and Amortization Schedules 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.
Microsoft Excel 2007 Noris Bt. Ismail Faculty of Information and Communication Technology Tel : (Ext 8408) BCOMP0101.
Office XP Introductory Concepts and Techniques Windows XP Edition M i c r o s o f t Excel Project 1 Creating a Worksheet and Embedded Chart.
Chapter 11 Enhancing an Online Form and Using Macros Microsoft Word 2013.
Using Macros, Switchboards, PivotTables, and PivotCharts
Data Validation and Protecting Workbook
After completing this lesson, you will be able to:
Microsoft Excel A Spreadsheet Program.
Developing an Excel Application
Microsoft Excel 101.
Shelly Cashman: Microsoft Excel 2016
Microsoft Excel 2003 Illustrated Complete
MS-Office It is a Software Package It contains some programs like
Exploring Microsoft® Excel® 2016 Series Editor Mary Anne Poatsy
Microsoft Excel 101.
Shelly Cashman: Microsoft Word 2016
Objectives At the end of this session, students will be able to:
Microsoft Office Excel 2003
Fundamentals of Using Excel
Microsoft Excel 2007 – Level 2
Microsoft Excel 2007 – Level 2
Day 2: Fill Data Automatically in Worksheet Cells
Presentation transcript:

Excel Tutorial 8 Developing an Excel Application

Objectives Create, edit, and delete defined names for cells and ranges Paste a list of defined names as documentation Use defined names in formulas Add defined names to existing formulas Create validation rules for data entry Protect the contents of worksheets and workbooks New Perspectives on Microsoft Office Excel 2007

Objectives Add, edit, and delete comments Learn about macro viruses and Excel security features Create a macro using the macro recorder Edit a macro using the Visual Basic Editor Assign a macro to a keyboard shortcut and a button Save a workbook in macro enabled format Minimize the Ribbon New Perspectives on Microsoft Office Excel 2007

Planning an Excel Application An Excel application is a spreadsheet written or tailored to meet the user’s specific needs New Perspectives on Microsoft Office Excel 2007

Naming Cells and Ranges A defined name (often called simply a name) is a word or string of characters associated with a single cell or a range Select the cell or range to which you want to assign a name Click in the Name box on the formula bar, type the name, and then press the Enter key (or in the Defined Names group on the Formulas tab, click the Define Name button, type a name in the Name box, and then click the OK button) Or Select the range with labels and blank cells in the top row or first column to which you want to assign a name In the Defined Names group on the Formulas tab, click the Create From Selection button Specify whether to create the ranges based on the top row, bottom row, left column, or right column in the list Click the OK button New Perspectives on Microsoft Office Excel 2007

Naming Cells and Ranges New Perspectives on Microsoft Office Excel 2007

Adding Defined Names to Existing Formulas In the Defined Names group on the Formulas tab, click the Define Name button arrow, and then click Apply Names (if the cell reference and defined name definition are in the same worksheet) In the Apply Names dialog box, select the names you want to apply, and then click the OK button Or Edit the formula by selecting the cell reference and typing the defined name (or clicking the appropriate cell) New Perspectives on Microsoft Office Excel 2007

Adding Defined Names to Existing Formulas New Perspectives on Microsoft Office Excel 2007

Validating Data Entry To ensure that correct data is entered and stored in a worksheet, you can use data validation to create a set of rules that determine what users can enter in a specific cell or range An input message appears when the cell becomes active and can be used to specify the type of data the user should enter in that cell An error alert message appears if a user tries to enter a value in the cell that does not meet the validation rule New Perspectives on Microsoft Office Excel 2007

Validating Data Entry In the Data Tools group on the Data tab, click the Data Validation button Click the Settings tab Click the Allow arrow, click the type of data allowed in the cell, and then enter the validation criteria for that data Click the Input Message tab, and then enter a title and text for the input message Click the Error Alert tab, and then, if necessary, click the Show error alert after invalid data is entered check box to insert a check mark Select an alert style, and then enter the title and text for the error alert message Click the OK button New Perspectives on Microsoft Office Excel 2007

Validating Data Entry New Perspectives on Microsoft Office Excel 2007

Protecting a Worksheet Select the cell or range you want to unlock. In the Font group on the Home tab, click the Dialog Box Launcher In the Format Cells dialog box, click the Protection tab, click the Locked check box to remove the check mark, and then click the OK button In the Changes group on the Review tab, click the Protect Sheet button Enter a password (optional) Select all of the actions you want to allow users to take when the worksheet is protected Click the OK button New Perspectives on Microsoft Office Excel 2007

Protecting a Workbook In the Changes group on the Review tab, click the Protect Workbook button Click the check boxes to indicate whether you want to protect the workbook’s structure, windows, or both Enter a password (optional) Click the OK button New Perspectives on Microsoft Office Excel 2007

Adding Worksheet Comments A comment is a text box that is attached to a specific cell in a worksheet Click the cell to which you want to attach a comment Right-click the cell, and then click Insert Comment on the shortcut menu (or in the Comments group on the Review tab, click the New Comment button) Type the comment into the comment box New Perspectives on Microsoft Office Excel 2007

Adding Worksheet Comments New Perspectives on Microsoft Office Excel 2007

Working with Macros A macro is a series of stored commands that can be run whenever you need to perform the task The Developer tab will enable you to create and use macros If the Developer tab isn’t available, you will need to enable it using the Excel Options New Perspectives on Microsoft Office Excel 2007

Protecting Against Macro Viruses Macro viruses are a type of virus that uses a program's own macro programming language to distribute the virus The macro security settings control what Excel will do about macros in a workbook when you open that workbook Disable all macros without notification Disable a macro with notification Disable all macros except digitally signed macros Enable all macros New Perspectives on Microsoft Office Excel 2007

Setting Macro Security in Excel In the Code group on the Developer tab, click the Macro Security button Click the option button for the security setting you want Click the OK button or Click the Office Button, and then click the Excel Options button Click the Trust Center category, and then click the Trust Center Settings button Click the Macro Settings category, and then select the option button for the security setting you want New Perspectives on Microsoft Office Excel 2007

Recording a Macro In the Code group on the Developer tab, click the Record Macro button Enter a name for the macro, and specify the location to store the macro Specify a shortcut key (optional) Enter a description of the macro (optional) Click the OK button to start the macro recorder Perform the tasks you want to automate Click the Stop Recording button New Perspectives on Microsoft Office Excel 2007

Running a Macro Press the shortcut key assigned to the macro or In the Code group on the Developer tab, click the Macros button Select the macro from the list of macros, and then click the Run button New Perspectives on Microsoft Office Excel 2007

Editing a Macro In the Code group on the Developer tab, click the Macros button, select the macro in the Macro name list, and then click the Edit button (or in the Code group on the Developer tab, click the Visual Basic button) Use the Visual Basic Editor to edit the macro code Click File on the menu bar, and then click Close and Return to Microsoft Excel New Perspectives on Microsoft Office Excel 2007

Editing a Macro New Perspectives on Microsoft Office Excel 2007

Creating a Macro Button In the Controls group on the Developer tab, click the Insert button In the Form Controls section, click the Button (Form Control) tool, click the worksheet where you want the macro button to be located, drag the pointer until the button is the size and shape you want, and then release the mouse button In the Assign Macro dialog box, select the macro you want to assign to the button, and then, with the button still selected, type a new label New Perspectives on Microsoft Office Excel 2007

Creating a Macro Button New Perspectives on Microsoft Office Excel 2007

Saving Workbooks with Macros On the Quick Access Toolbar, click the Save button Click No in the dialog box Save as an Excel Macro-Enabled Workbook New Perspectives on Microsoft Office Excel 2007

Opening a Workbook with Macros New Perspectives on Microsoft Office Excel 2007