Microsoft Excel VBA
Two Day Course
This course teaches experienced Excel users about the greater advantages to be gained by combining the built-in features of Excel with the programming capabilities of Visual Basic for Applications (VBA). The course is designed to give delegates a thorough overview of programming within the Excel environment, enabling them to improve the functionality of their Excel spreadsheets.
Course Aims to enable delegates to:
Use VBA terminology, start Visual Basic Editor, and work with object properties, methods, and events. Manipulate data by declaring variables and procedures of correct scope to be used when and where you need them. Use decision structures to perform decision tasks and loop structures to perform repetitive tasks. Add a user form to your project, add controls on it, handle events associate with form controls, and validate data entry on forms. Identify errors in code, use the debugging tools, and write error-handling code to trap errors.
Course Content
Visual Basic For Applications Overview
- The VBA Editor
- Program Structure
- Customising The VBA environment
Recording and Running Procedures
- Naming and Recording Procedures
- Controlling Reference Type
- Assigning Procedures
Viewing and Editing Procedures
- Reading Visual Basic Code
- Editing Visual Basic Code
- VBA Project Properties
Working with Visual Basic Code
- Variables
- Sub Procedures
- User Defined Functions
Objects, Properties and Collections
- Controlling Objects using Properties
- Performing actions with Methods
- Object Collections and Variables
User Input, Control and Looping
- User Input
- Control Structures
- Looping
Debugging and Error Handling
- Compile Errors
- Run-time Errors
- Logical Errors Debugging Code
Customising the User Interface
- Worksheet Forms
- Custom Dialog Boxes
Follow-on Courses
Microsoft Access VBA
Requirements before booking this course:
This is a generic course and is suitable for users of any version of Microsoft Excel. This course is particularly beneficial for those with a sound knowledge of Excel who are familiar with other features available such validation, protection & security, advanced formatting, formulae & functions.
Notes
Training is available on all versions
