Microsoft Office Excel 2003

Slides:



Advertisements
Similar presentations
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 2Managing and Integrating Data and the Excel Environment Chapter 7Automating Repetitive Tasks.
Advertisements

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.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 6 BACKNEXTEND 6-1 LINKS TO OBJECTIVES Workbook properties Workbook properties Workbook Sharing.
1 Linking & Consolidating Worksheets Applications of Spreadsheets.
With Microsoft Excel 2007 Comprehensive 1e© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Excel 2007 Comprehensive.
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
Copyright © 2008 Pearson Prentice Hall. All rights reserved Copyright © 2008 Prentice-Hall. All rights reserved. Committed to Shaping the Next.
XP New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8 1 Microsoft Office Excel 2003 Tutorial 8 – Developing an Excel Application.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 7 1 Microsoft Office Excel 2003 Tutorial 7 – Working With Excel’s Editing.
Microsoft Excel 2003 Illustrated Complete Excel Files and Incorporating Web Information Sharing.
Templates and Styles Excel Advanced. Templates are pre- designed and formatted spreadsheets –They provide consistency of layout/structure –They.
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.
Automating Tasks With Macros
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 6 1 Microsoft Office Excel 2003 Tutorial 6 – Working With Multiple Worksheets.
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
SUNY Morrisville-Norwich Campus- Week 6 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
Automating Tasks With Macros. 2 Design a switchboard and dialog box for a graphical user interface Database developers interact directly with Access.
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.
Microsoft Excel 2003 Illustrated Complete Excel and Advanced Worksheet Management Customizing.
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.
Exploring Microsoft Excel 2002 Chapter 8 Chapter 8 Automating Repetitive Tasks: Macros and Visual Basic for Applications By Robert T. Grauer Maryann Barber.
Word Lesson 16 Working with Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
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.
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-
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.
Introduction to VBA MGMI Aug What is VBA? VBA = Visual Basic for Application Excel’s powerful built-in programming language An event-driven.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
1 ADVANCED MICROSOFT WORD Lesson 16 – Customizing Features Microsoft Office 2003: Advanced.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Microsoft Office Excel Copyright © 2008 Pearson Prentice Hall. All rights reserved
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Excel 2010 © 2011 The McGraw-Hill Companies,
The Advantage Series ©2005 The McGraw-Hill Companies, Inc. All rights reserved Chapter 11 Developing Applications Using Excel Microsoft Office Excel 2003.
Intro to Excel - Session 7.31 Tutorial 7 - Session 7.3 Developing an Excel Application.
Access Lesson 11 Creating and Running Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 10 1 Microsoft Office Access 2003 Tutorial 10 – Automating Tasks With Macros.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft® Excel 2013.
Securing and Sharing Workbooks Lesson 11. The Review Tab Microsoft Excel provides several layers of security and protection that enable you to control.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft® Excel 2013.
Microsoft Excel Prepared by the Academic Faculty Members of IT.
COMPREHENSIVE Access Tutorial 11 Using and Writing Visual Basic for Applications Code.
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.
Excel Lesson 15 Working with Auditing and Analysis Tools
Excel Tutorial 8 Developing an Excel Application
Exploring Excel Chapter 7 Automating Repetitive Tasks: Macros and
University of technology Department of Materials Engineering
Data Validation and Protecting Workbook
Developing an Excel Application
Microsoft Office Illustrated
Microsoft Excel 2003 Illustrated Complete
Order of Precedence Rules
Microsoft Excel 2007 – Level 1
Objectives Learn about Function procedures (functions), Sub procedures (subroutines), and modules Review and modify an existing subroutine in an event.
Exploring Microsoft® Excel® 2016 Series Editor Mary Anne Poatsy
Exploring Microsoft® Word® 2016 Series Editor Mary Anne Poatsy
Exploring Microsoft Excel
Microsoft Excel 101.
Microsoft Office Excel 2003
BTEC Level 3 Subsidiary Diploma
Tutorial 11 Using and Writing Visual Basic for Applications Code
Microsoft Excel 2007 – Level 2
Workshop on Excel Dr P Sravan Kumar MBA PhD
Presentation transcript:

Microsoft Office Excel 2003 Tutorial 8 – Developing an Excel Application New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

Create validation rules for data entry You will want to prevent errors in your workbooks as much as possible. You can specify the type of data that is allowed and/or a range of acceptable values If a value is entered that does not meet the requirements, an error message is displayed Setting a rule like this is a preventative measure that allows you to validate data upon entry There are several different options in the Data Validation dialog box allowing you to provide various rules related to data entry. You can also provide an input message that will aid the user in entering the data. New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

The Data Validation dialog box New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

The Allow list box options New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

The Input Message tab of the Data Validation dialog box New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

A worksheet with an input message displayed New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

The Error Alert tab of the Data Validation dialog box New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

Protect the contents of worksheets and workbooks Once you have a worksheet that you know is correct, you may want to protect the worksheet so that users cannot make changes. Setting the locked property will disallow any changes to a particular cell The worksheet will have to be protected in order for the locked property to have any affect You can also specify a password that must be entered in order to remove worksheet protection. Finally, you can protect an entire workbook, which would disallow changes to the workbook, such as adding or deleting worksheets. New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

Unlocking Selected Cells New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

The Protect Sheet dialog box New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

The Protect Workbook dialog box New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

Create and use range names It may be useful assign a name to a cell or cell range. This is called a range name and allows you to refer to the cell or range of cells by their name instead of their cell references. For example, you might assign a range name, Expenses, to a group of cells that represent your expenses When you want to calculate with those cells, you enter their Range Name in the formulas instead of the cell reference You can later change the definition of the range names. New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

Creating a name using the Name box New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

The Define Name dialog box New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

View multiple range names New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

Using Range Names in a chart New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

Macro viruses and Excel's security features Because a macro is a program, a virus can be attached to the macro. A macro is attached to a workbook and just opening the workbook can cause the macro to be run If a macro has an attached virus, running the macro will likely infect the computer being used to view the workbook The first line of defense is to be sure you know where the workbook came from and whether the source is trustworthy. Excel allows you to specify security for any workbook opened within Excel. There are three levels of security: high, medium, and low. New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

The Security dialog box New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

Create macros using the macro recorder One way to create a macro is to use the Excel macro recorder. When you start the macro recorder, all of your keystrokes are recorded and saved Once you have completed the keystrokes you want recorded, you can close the macro Once the macro has been created, you can replay the macro at anytime The macro can be stored in the workbook, making it available whenever the workbook is opened. You can also store the macro in a new workbook or in the Personal Macro workbook, which makes it available anytime Excel is running. New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

The Record Macro dialog box New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8 The Macro dialog box New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

Edit and print a macro using the Visual Basic Editor All macros are small programs written in Visual Basic for Applications (VBA), which is the programming language for Office 2003 applications. You can create a new macro or edit an existing macro in the Visual Basic Editor. In the editor: You can see the VBA statements that make the macro work You can view and edit the commands The body of a macro is enclosed between the “Sub” and “End Sub” statements. The body consists of the statements that will be performed when the macro is run. New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8 The VBA editor Learning to program in VBA is an extensive process. However, you can read through an existing macro and get an idea of how the macro works. You can print the macros so that you can review the printout. New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

The Visual Basic editor New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

Update a macro in the VBA editor New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

Assign a macro to a keyboard shortcut You already learned how to invoke a macro through the macro menu. Another option is to assign a shortcut key to the macro. When the shortcut key is pressed, the macro is run. New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

Assign a macro to a button You can create a button on the workbook that will invoke a macro. To create a macro button, you must first display the Forms toolbar. Then, select the button tool on the toolbar. The button is assigned to a particular macro and, when it is pressed, the assigned macro runs. New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

Assign Macro Dialog Box New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8

Add multiple macro buttons New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8