Presentation is loading. Please wait.

Presentation is loading. Please wait.

Microsoft Excel Project Seven Using Macros and Visual Basic for Applications (VBA) with Excel.

Similar presentations


Presentation on theme: "Microsoft Excel Project Seven Using Macros and Visual Basic for Applications (VBA) with Excel."— Presentation transcript:

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

8

9

10

11

12

13 Unprotecting a Password- Protected Worksheet PasswordPassword Protect Workbook commandProtect Workbook command

14

15

16 Phase 1 – Recording a Macro and Assigning it to a Toolbar Button and Menu Command Recording a MacroRecording a Macro

17

18

19

20

21

22

23

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

25

26

27

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

29

30

31

32 Phase 1 – Recording a Macro and Assigning it to a Toolbar Button and Menu Command Customizing Toolbars and MenusCustomizing Toolbars and Menus

33

34

35

36

37

38

39

40

41

42

43

44

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

46

47

48

49

50

51

52

53

54

55 Phase 2– Creating a Procedure to Automate the Retirement Savings Plan Data Entry Step 2 – Set PropertiesStep 2 – Set Properties

56

57

58

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

60

61

62

63

64

65

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

67

68

69

70

71

72

73

74 Phase 3 – Creating an Adjustment Center to Automate the Data Entry Step 1 – Create the User InterfaceStep 1 – Create the User Interface

75

76

77

78

79

80

81

82

83

84 Phase 3 – Creating an Adjustment Center to Automate the Data Entry Step 2 – Set the PropertiesStep 2 – Set the Properties

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100

101

102

103

104

105

106

107 Phase 3 – Creating an Adjustment Center to Automate the Data Entry Step 3 – Write the CodeStep 3 – Write the Code

108

109

110

111

112

113

114

115

116

117

118

119

120

121 Phase 3 – Creating an Adjustment Center to Automate the Data Entry Testing ControlsTesting Controls Quitting ExcelQuitting Excel

122


Download ppt "Microsoft Excel Project Seven Using Macros and Visual Basic for Applications (VBA) with Excel."

Similar presentations


Ads by Google