Let’s Start Writing Codes in Excel
What you will learn
Using VBA Codes in Excel
Automating Activities in Excel
Using Macros in Excel
Understanding the Concept of VBA
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.
English
language
Content
Learn VBA in 67 Minutes
Getting Started with VBA (Super Solid Foundation)
Selecting a Cell, or a Range using a VBA Code
Entering Value in a Cell or a Range of Cells
Copy and Paste Data using a VBA Code
Using Excel’s Worksheet Functions in a VBA Code