Visual Basic for Applications (VBA) - The Basics
Learn the basics with VBA. If you know absolutely nothing, this is the place to start!
This course is aimed at beginners in VBA, ideally someone who has very little experience, but at least has heard of VBA and Macros.
VBA is one of the most useful and most-used languages. Being able to extend the functionality of office products such as Excel can help you save time and money in an ever-demanding workplace
This course aims to teach you the fundamentals of VBA. Whilst we're using Excel, the basic principles you will learn can be applied to any VBA environment, and not only that, extended to other programming languages as most are very similar.
This course will take you from declaring variables through to examples of VBA. We'll cover many common concepts and I'll share tips to help you start off on the right path, reducing stumbling blocks as you progress to more advanced concepts.
There's a good reason for this. With VBA being a text based language, it's incredibly boring to listen and watch someone else type it. It's much quicker to copy code yourself and then give it a go.
Order a paperback or Kindle edition of this course!
VBA Editor Walkthrough
What Are Variables?
FREE PREVIEWHow To Declare Variables
Populating Variables
Reading Variable Data
Accessing Variables Via References
Variable Section Conclusion
FREE PREVIEWWhat Is A Sub Routine?
Adding A Sub Routine
Running A Sub Routine
Sub Routines Section Conclusion
FREE PREVIEWAdding A Function
Passing Parameters To A Function
Exercise - Optional Parameters
Functions Section Conclusion
FREE PREVIEWWhen Is Best To Use A Sub Routine Over A Function?
What Is Debugging?
FREE PREVIEWDebugging Method 1 - Step Through
Debugging Method 2 - Watches & Breakpoints
Breakpoints
Debug.Print
Debug.Assert
Runtime Debugging Section Conclusion
FREE PREVIEWAbstraction Layers
Arrays
Structures / Custom Types
Working With Data Section Conclusion
FREE PREVIEWWhat Is An "Object"?
FREE PREVIEWObject Explorer
Interacting With Objects
Creating Custom Objects - Classes (Basic Overview)
Interacting With Objects Section Conclusion
FREE PREVIEWResource Download - Statement Examples
IF Statement
FOR Statement
WHILE Statement
CASE Statement
Comparators
FREE PREVIEWWorking With Strings
Common Programming Instructions / Statements Section Conclusion
FREE PREVIEWKey Things To Know
Course Conclusions
Coupon - Further Learning