Top Banner
Forrest Training Pty Ltd - ABN 66 065 219 258 – Level 7, 83 York Street, Sydney NSW 2000 p: 02 9262 2284 | f: 02 9262 2286 | e: [email protected] | www.forresttraining.com.au Excel VBA Course Information Excel VBA Course Content Target Audience & Purpose Excel VBA training is for highly skilled developers who wish to add high-end automation. Course Prerequisites This course assumes a sound knowledge of the standard features of Excel covered in the Introduction and Advanced courses. Course Inclusions Comprehensive learning materials incl. exercise files Post course telephone support ‘Certificate of Attendance’ on completion of course Light lunch plus morning & afternoon tea Getting Started What is VBA, Open the VBA Editor, Create a Module, Create A New Subroutine, Add Commands, Run the Subroutine, Save the File Security Open a File Containing Code, Create a Digital Signature, Digitally Self-Sign a File, Add the Publisher to the Trusted List, Install Certificates, Remove Trusted Publishers Using the VBA Editor Run Code in the VBA Window, Step Through Code, Step Over Code, Set a Break Point, Comment Code, IntelliSense and AutoComplete, Getting Help, The Project Explorer and Properties Window Variables What is a Variable, Naming Variables, Store a Value in a Variable, Why Should I Declare Variables, Procedure-Level Declarations, Module-Level Declarations, Global-Level Objectives By the end of this course participants should be able to: Work with the VBA editor Understand VBA concepts and features Create procedures and sub routines Work with variables Work with Excel objects Use standard programming techniques and concepts Create custom forms Program custom forms Make macros start automatically Declarations, Static Declarations, Option Explicit, Declaring Data Types, Recognise Errors from Declaring Variables, Discover the Current Value of a Variable Interactions With The User Interacting with the User, MsgBox as a Method, MsgBox as a Function, Message Box using Numerical Constants, The InputBox Function, Long Messages Making Decisions A Note On Indenting, Line If, Block If, ElseIf and Else, Select Case Looping For/Next Iterations, For/Next Stepped Iterations, Do/Loop With Initial Test, Do/Loop with Final Test Error Handling Run-Time Errors, Add a Simple Stop, The Err Object, Exit Sub, Error Handling with Another Sub, Resuming Two Day Course from 9.00 am to 4.30 pm Excel VBA
2

Excel VBA - Forrest Training · Excel VBA Course Information Excel VBA Course Content Target Audience & Purpose Excel VBA training is for highly skilled developers who wish to add

Jun 14, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Excel VBA - Forrest Training · Excel VBA Course Information Excel VBA Course Content Target Audience & Purpose Excel VBA training is for highly skilled developers who wish to add

Forrest Training Pty Ltd - ABN 66 065 219 258 – Level 7, 83 York Street, Sydney NSW 2000p: 02 9262 2284 | f: 02 9262 2286 | e: [email protected] | www.forresttraining.com.au

Excel VBA Course Information

Excel VBA Course Content

Target Audience & Purpose Excel VBA training is for highly skilled developers who wish to add high-end automation.

Course Prerequisites This course assumes a sound knowledge of the standard features of Excel covered in the Introduction and Advanced courses.

Course Inclusions•Comprehensivelearningmaterialsincl.exercisefiles• Post course telephone support•‘CertificateofAttendance’oncompletionofcourse• Light lunch plus morning & afternoon tea

Getting StartedWhat is VBA, Open the VBA Editor, Create a Module, Create A New Subroutine, Add Commands, Run the Subroutine, Save the File

SecurityOpen a File Containing Code, Create a Digital Signature, Digitally Self-Sign a File, Add the Publisher to the Trusted List,InstallCertificates,RemoveTrustedPublishers

Using the VBA EditorRun Code in the VBA Window, Step Through Code, Step Over Code, Set a Break Point, Comment Code, IntelliSense and AutoComplete, Getting Help, The Project Explorer and Properties Window

VariablesWhat is a Variable, Naming Variables, Store a Value in a Variable, Why Should I Declare Variables, Procedure-Level Declarations, Module-Level Declarations, Global-Level

Objectives By the end of this course participants should be able to:

• Work with the VBA editor• Understand VBA concepts and features• Create procedures and sub routines• Work with variables• Work with Excel objects• Use standard programming techniques and concepts• Create custom forms• Program custom forms• Make macros start automatically

Declarations, Static Declarations, Option Explicit, Declaring Data Types, Recognise Errors from Declaring Variables, Discover the Current Value of a Variable

Interactions With The UserInteracting with the User, MsgBox as a Method, MsgBox as a Function, Message Box using Numerical Constants, The InputBox Function, Long Messages

Making DecisionsA Note On Indenting, Line If, Block If, ElseIf and Else, Select Case

LoopingFor/Next Iterations, For/Next Stepped Iterations, Do/Loop With Initial Test, Do/Loop with Final Test

Error HandlingRun-Time Errors, Add a Simple Stop, The Err Object, Exit Sub, Error Handling with Another Sub, Resuming

Two Day Course from 9.00 am to 4.30 pm

Excel VBA

Page 2: Excel VBA - Forrest Training · Excel VBA Course Information Excel VBA Course Content Target Audience & Purpose Excel VBA training is for highly skilled developers who wish to add

Forrest Training Pty Ltd - ABN 66 065 219 258 – Level 7, 83 York Street, Sydney NSW 2000p: 02 9262 2284 | f: 02 9262 2286 | e: [email protected] | www.forresttraining.com.au

The Personal Macro WorkbookCourse Prerequisite, Record in the Personal Macro Workbook, Saving the Personal Macro Workbook, Use a Macro from the Personal Macro Workbook, Edit a Personal Macro Workbook Macro, Locate the Personal Macro Workbook

Excel ObjectsThe Object Hierarchy, Locate an Object, Properties and Methods, The Application Object, The Workbooks Object, ActiveWorkbook and ThisWorkbook, Sheets, Worksheets and Charts, The Worksheets Object, Simple Range Objects, More Complex Range Objects, Adding Higher Hierarchical Levels

Common VBA TechniquesCopyandPaste,PasteSpecial,Offset,InsertCalculationsinaCell,Autofill,AddRowsandColumns,DeleteRowsand Columns, Convert Data Types

User FunctionsFunctions, Single Input Functions, Call the Function from Another Procedure, Use the Function on the Spreadsheet, Multiple Input Functions, Use the Multiple Input Function, The WorksheetFunction Objects

User FormsInsert a UserForm, The Project Explorer and Properties Window, The Final Product, Create TextBoxes and ComboBoxes, Align and Resize the Controls, Create Labels and use ControlTipText, Create Command Buttons, Code the Close Buttons, Populate the Combo Box List, Create a Macro to open the UserForm, Create a Button on the Spreadsheet, Automatically Load a Form

Connect to External DatabasesODBC and VBA, Some General Considerations, How Does ADO Work, Setting ADO References, Connecting to the Database, Populate ADO Recordsets, Locate a Record using ADO, BOF and EOF, Filter and Count the Records, Add a Record, Modify a Record, Delete a Record, Close the Connection and Recordset, Attaching an SQL Database, Using VBA with a Local SQL Database

Excel VBA