Learn VBA in 67 Minutes, Let’s Start Writing Codes in Excel.
Course Description
This course is something which I’d like to watch if I am starting with VBA today. Following is what you are going to learn in this course.
- CONCEPT OF VBA – In this section, you will understand the concept of VBA as a programming language. The point is if you want to learn VBA, you need to understand how it works as a programming language.
- VISUAL BASIC EDITOR – Visual Basic Editor is the application where we write codes and save them to execute. The best part is you don’t need to install this application it’s already there in Excel.
- WRITE YOUR FIRST CODE – In this section of this video, we will write a basic code to give you some hands-on VBA. Give you an initial idea of how to write a code in VBA.
- ENABLE MACROS – Microsoft won’t allow you to run a macro in Excel until you enable macros in it. It’s disabled by default because it might be a little insecure if you don’t know about security precautions that come with macros.
- UNDERSTANDING OBJECTS – VBA is an object-oriented language. And with each object comes properties and methods which you can use to perform activities with an object.
- COPY PASTE USING VBA – This is one of the basic tasks that you do in Excel. And with a VBA ,code you canit do with a single click and save time.
- USING EXCEL FUNCTION IN VBA – There’s a property in VBA called WorksheetFunction that gives you access to all the functions that you have in Excel.
- SHOW A MESSAGE BOX – One of my favorite thing in VBA is using a message box. You can create a message box to show to the user a specific message.
- GET RESPONSE WITH AN INPUT BOX – You can also create an Input Box that let a user enter a response in an input bar and then you can save that response in a cell.
- TEST YOUR CODE – Once you write a code, the next this that you need to do immediately is to test your code. In the VBA editor, there’s a button called to step into that you can use to do this.
- ADD COMMENTS IN A CODE – A comment is a green line of text that helps you to describe the written code. In simple words, a comment is a line of text which is not a code and VBA ignores it while executing the code.
- CONSTANT AND VARIABLES – A constant and a variable is a storage box that is itself stored in your system and it can store a value in it for you.
- IF STATEMENT – Just like Excel, in VBA, you can also write an IF statement to a text a condition and then perform an activity if that condition is true, else perform something else if that condition is false.