A beginner’s and intermediate guide to VBA programming
What you'll learn
- By the end of this course you will be able to design and develop your own custom programs
- In this course you will learn how to control program flow through VBA statements
- In this course you will learn how to develop custom Excel objects
- In this course you will learn how to develop functional programs and sub procedures
- In this course you will learn to how access standard Excel objects from within the VBA editor using the Object browser
- In this course you will learn to how add error handling capabilities to your programs
Requirements
- A copy of Microsoft Excel
- Time and patience to work through the course
- Basic problem solving skills
Description
Have you ever felt frustrated using Microsoft Excel to perform mundane and often repetitive tasks? Have you ever felt that there has to be an easier and faster way to perform to do something? Well, using Microsoft Visual Basic for Application (VBA) programming language allows you to automate manual tasks within Excel and allows you to be more effective and efficient with your time. Not only does it provide you access to a rich library of additional tools and capabilities, over and above what a standard user may have access to, it can also be used to integrate with some of the Microsoft other Office applications such as Outlook, Word and MS Access.
- So, who should take this course?
- Anyone who wants to learn how to be a proficient VBA programming
Anyone who wants to learn how to effectively utilize the tool to solve and automated manual tasks
In this course you will learn some of the fundamental concepts of the VBA programming language. Not only does this course include a review of the basic concepts and key functionality available within this rich programming language such as the IF, Select Case and Loop Statements, you will also learn how to design and develop your own custom objects using the concepts of object orientated programming through the use of class modules.
This course starts off with a brief refresher on the basic concepts of the VBA programming language and a review of the VBA Editor, the development environment that we will use during this course.
This program also includes a number of practical examples, to help demonstrate how to effectively utilize the concepts that you have covered during this course. This course includes the key concepts and practical examples of the following VBA statements and functionality:
- IF Statements
- Loop Statements (For Next, Do While, Do Until)
- Exit Statements
- Goto Statements
- Select Case Statements
- Enumeration Data Types
- The DoEvents Statement
- Macros
- Arrays (declaring, re-initializing, auto populating and deleting arrays)
- Error Handling
- Standard Excel Objects
- Functions and Procedures
- Passing Values To Functions By Value
- Passing Variables to Functions By Reference
- Advance String Manipulation using the Trim, LTrim, RTrim, Left, Right, Instr and InstrRev Statements
- User forms
- Classes / Custom Objects
- Variable Declaration And Scope
We finish the training course by reviewing additional practical examples of how to apply the key concepts that we have reviewed during this course. In total, this course provides approximately 9 hours of course videos, including practical files and examples to help you become a proficient and effective programming.
Who this course is for:
- Students
- Beginner to intermediate programmers
- Users looking to automate frustrating and time consuming tasks
- Expiring programmers
- Someone looking to build upon previous experiences and exposure to VBA
Instructor
I have always been very passionate about computers and technology in general after receiving my first 8086 Olivetti computer in the late 80’s. I still recall the day that that Double Tools for DoubleSpace was released, which allowed you to backup 2.8 mb on a 1.44 mb disk. Back then I thought that was the ultimate technological breakthrough. However, needless to say, I think we have progressed well beyond that.
I graduated from University with a BCom and Honors in Accounting and promptly went to work for one of the big public accounting firms, where I also managed to achieve my chartered accountant designation. Even though I started in accounting I have always wanted to work in technology and was fortunate enough to be introduced to programming and relational database design early on my career, developing decision support and financial models for clients using MS Access and Microsoft Excel. My experiences with these tools and programming in general have taught me the value of good coding practices and I have come to believe that you always have to assume that no matter how small a project, it can always grow and expand well beyond your original scope. Now, I always design and build programs as if I am going to have to support them for years to come.
I also have an extensive technical background and work experience in Information Security, data analytics and data mining and currently work for a large national consulting firm, located in Northern Virginia.
Other programming languages that I have experience with in addition to VB and VBA are Objective C, C++ and C#.