Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn VBA in 67 Minutes
Rating: 4.3 out of 5(567 ratings)
9,846 students

Learn VBA in 67 Minutes

Let's Start Writing Codes in Excel
Created byPuneet Gogia
Last updated 8/2022
English

What you'll learn

  • Using VBA Codes in Excel
  • Automating Activities in Excel
  • Using Macros in Excel
  • Understanding the Concept of VBA

Course content

1 section5 lectures1h 6m total length
  • Getting Started with VBA (Super Solid Foundation)52:37
  • Selecting a Cell, or a Range using a VBA Code7:21
  • Entering Value in a Cell or a Range of Cells1:50
  • Copy and Paste Data using a VBA Code2:15
  • Using Excel's Worksheet Functions in a VBA Code2:36

    Discover how to call Excel worksheet functions from VBA using the WorksheetFunction property, including using max with a defined range and handling function name conflicts with VBA's own library.

Requirements

  • Having a Microsoft Excel Installed on your System.

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.


  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. 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.

  10. 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.

  11. 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.

  12. 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.

  13. 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.

Who this course is for:

  • Any one who uses Excel more than an hour in a day.