Download presentation
Presentation is loading. Please wait.
1
Microsoft Excel Project Seven Using Macros and Visual Basic for Applications (VBA) with Excel
2
MOUS Objectives Use the Undo button to undo multiple changesUse the Undo button to undo multiple changes Use passwords to assign protected and unprotected status to a workbookUse passwords to assign protected and unprotected status to a workbook Execute a macroExecute a macro Understand Visual Basic for Applications codeUnderstand Visual Basic for Applications code
3
MOUS Objectives Customize a toolbar by adding a buttonCustomize a toolbar by adding a button Customize a menu by adding a commandCustomize a menu by adding a command Add controls to a worksheet, such as command buttons, scroll bars, check boxes, and spin buttonsAdd controls to a worksheet, such as command buttons, scroll bars, check boxes, and spin buttons
4
MOUS Objectives Assign properties to controlsAssign properties to controls Use VBA to write a procedure to automate data entry into a worksheetUse VBA to write a procedure to automate data entry into a worksheet Understand Do-While and If- Then-Else statementsUnderstand Do-While and If- Then-Else statements
5
MOUS Objectives Test and validate incoming dataTest and validate incoming data Explain event-driven programsExplain event-driven programs
6
Introduction ProcedureProcedure Program codeProgram code ExecuteExecute VBAVBA Macro recorderMacro recorder MacroMacro
7
Project Seven Starting Excel and Opening a WorkbookStarting Excel and Opening a Workbook Gaining Confidence in a Workbook Created by Someone ElseGaining Confidence in a Workbook Created by Someone Else
13
Unprotecting a Password- Protected Worksheet PasswordPassword Protect Workbook commandProtect Workbook command
16
Phase 1 – Recording a Macro and Assigning it to a Toolbar Button and Menu Command Recording a MacroRecording a Macro
24
Phase 1 – Recording a Macro and Assigning it to a Toolbar Button and Menu Command Opening a Workbook with a Macro and Executing the MacroOpening a Workbook with a Macro and Executing the Macro
28
Phase 1 – Recording a Macro and Assigning it to a Toolbar Button and Menu Command Viewing a Macro’s VBA CodeViewing a Macro’s VBA Code
32
Phase 1 – Recording a Macro and Assigning it to a Toolbar Button and Menu Command Customizing Toolbars and MenusCustomizing Toolbars and Menus
45
Phase 2– Creating a Procedure to Automate the Retirement Savings Plan Data Entry Step 1 – Create the User InterfaceStep 1 – Create the User Interface
55
Phase 2– Creating a Procedure to Automate the Retirement Savings Plan Data Entry Step 2 – Set PropertiesStep 2 – Set Properties
59
Phase 2– Creating a Procedure to Automate the Retirement Savings Plan Data Entry Step 3 – Write the VBA CodeStep 3 – Write the VBA Code
66
Phase 2– Creating a Procedure to Automate the Retirement Savings Plan Data Entry More About VBAMore About VBA Testing the Retirement Savings Plan Data Entry ProcedureTesting the Retirement Savings Plan Data Entry Procedure
74
Phase 3 – Creating an Adjustment Center to Automate the Data Entry Step 1 – Create the User InterfaceStep 1 – Create the User Interface
84
Phase 3 – Creating an Adjustment Center to Automate the Data Entry Step 2 – Set the PropertiesStep 2 – Set the Properties
107
Phase 3 – Creating an Adjustment Center to Automate the Data Entry Step 3 – Write the CodeStep 3 – Write the Code
121
Phase 3 – Creating an Adjustment Center to Automate the Data Entry Testing ControlsTesting Controls Quitting ExcelQuitting Excel
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.