Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Microsoft VBA Excel Automation: Reports, Dashboards and Task
Rating: 4.5 out of 5(10 ratings)
3,321 students

Microsoft VBA Excel Automation: Reports, Dashboards and Task

Use Microsoft VBA To Automate Excel Reports, Dashboards, and Workflows.
Created byLogic Labs
Last updated 1/2026
English
English [Auto],

What you'll learn

  • Introduction of Excel VBA
  • Creating Macros In VBA
  • Cell Referencing
  • Copy And Paste Cell Data
  • Color and ColorIndex
  • Background Colors
  • Cell Orientation And Wrap Text
  • Merge and UnMerge Cell Range
  • Applying And Customizing Borders In Cells
  • Clear and Delete Cells
  • Delete Sheets and Table Data
  • VBA Insert Cells
  • Column Width and Row Height Manipulation
  • Displaying Sheet Names and using Copy Function
  • VBA Hide or Unhide and Activate a Worksheet
  • User Forms Introduction and Workbook Passwords
  • Command Button and User Form Event Handling
  • Text Box Control and Label Property in User Forms
  • Radio Buttons in User Forms
  • Check boxes in MS Excel User Forms
  • List Boxes in User Form, get and Display Data via Excel Sheets
  • Multipages in a Single form and Encryption in User Forms
  • Data Validations on User Forms and ComboBox Control
  • Splitting Time, TimeSerial, TimeValue Functions
  • And More Functions

Course content

1 section59 lectures10h 55m total length
  • Introduction of Excel VBA6:43

    Learn how Visual Basic for Applications (VBA) automates tasks in Excel. Access the Visual Basic Editor, write and run a simple macro to display a message.

  • Creating Macros In VBA9:20

    Learn to create, record, edit, and run VBA macros in Excel to automate repetitive tasks, using the developer tab, macro options, and button assignments to streamline workflows.

  • Cell Referencing15:10

    Master Excel VBA cell references by learning absolute and relative references, range objects, and active cell interactions. Practice reading, writing, and offsetting values to sheets and selections to automate spreadsheets.

  • Cell Referencing Ranges14:46

    Master cell referencing and ranges in Excel VBA to automate tasks and manipulate data, including using range objects, name ranges, and selecting ranges.

  • Copy And Paste Cell Data10:23

    Explore how to use VBA to copy and paste sales data in Excel, recording a simple macro and learning paste options and values.

  • Font Property16:31

    Master font properties in Excel VBA by adjusting font name, size, color, and styles such as bold, italic, underline, and strikethrough.

  • Color and ColorIndex19:13

    Explore color and color index properties in Excel VBA to set cell and font colors using RGB values or predefined indices, applying font color changes to ranges like A1.

  • Background Colors8:58

    Learn how to change cell background colors in Excel with VBA, automate formatting tasks, and apply conditional formatting using ranges, colors, and rgb in this beginner-friendly tutorial.

  • Cell Orientation And Wrap Text13:42

    Learn how to manipulate cells with VBA in Excel by changing text orientation and enabling wrap text, using the VBA editor to apply angles and wrap settings to selected ranges.

  • Merge and UnMerge Cell Range10:37

    Learn to merge and unmerge cell ranges in Excel with VBA, defining ranges, enabling the developer tab, and applying merge across or merge center for headers.

  • Cell Content Alignment9:03

    Learn to manipulate cell content alignment in Excel using VBA, covering horizontal and vertical alignment, enabling the developer tab, and running macros to center content in cells.

  • Applying And Customizing Borders In Cells10:40

    Learn to apply and customize borders in Excel cells with VBA. Create a macro to style borders for a selected range using line style, weight, and color options.

  • Clear Cells7:10

    Learn to clear cells in Excel using VBA, defining ranges, clearing content, and running macros to automate data processing tasks.

  • Delete Cells9:48

    Master deleting cells, ranges, rows, and columns in Excel with VBA and macros to automate data manipulation.

  • Delete Sheets and Table Data10:40

    Learn how to delete sheets and table data in Excel using VBA, including using the VBA editor, Project Explorer, modules, and macros to automate tasks.

  • VBA Insert Cells10:34

    Learn to insert cells in Excel using VBA, including shift down, shift right, and no shift, by selecting ranges and resizing.

  • Column Width Manipulation15:34

    Learn to manipulate column width in excel using vba, from setting a single column to looping through multiple columns (a to e) to format data and improve readability.

  • Row Height Manipulation15:31

    learn to automate row height adjustments in Excel with VBA, including setting target rows, applying specific heights, and auto fitting based on cell content.

  • Activate and Select Cells13:34

    Learn how to use activate and select methods in Excel VBA to work with cells, ranges, and worksheets, automating tasks and boosting productivity.

  • Hide and Unhide Columns, Rows, and Cells16:27

    Learn to use Excel VBA to hide and unhide columns, rows, and cells with simple macros, and automate visibility tasks in Excel worksheets.

  • Sheet/Worksheet Referencing11:45

    Master referencing a worksheet in Excel VBA by name, index, or code name, set the worksheet, and use cells and values to drive automated tasks with macros and user forms.

  • Name Property12:38

    Master the name property in Excel VBA to assign and reference names to worksheets and ranges, improving code readability and maintainability. Learn to define, name, and reference ranges.

  • Displaying Sheet Names and using Copy Function9:28

    Learn to display all sheet names in the active workbook and duplicate a sheet using Excel VBA, by editing in the VBA editor, inserting a module, and running a macro.

  • Copy and Move Sheets7:12

    Learn to copy and move sheets in an Excel workbook using VBA, creating simple macros in the VB editor to automate sheet management.

  • Tab Color Property of Sheets6:53

    Apply VBA to set Excel sheet tab colors, using properties and RGB values to color sheets red or green and organize workbooks.

  • VBA Hide or Unhide and Activate a Worksheet10:06

    Learn to use Excel VBA to hide, unhide, and activate worksheets, automating tasks to boost productivity in Microsoft Excel for beginners.

  • Create and Save a Workbook6:21

    Enable the developer tab, access the VBA editor, and write code to create and save a new Excel workbook to your computer.

  • Open, Save and Close a Workbook11:19

    Learn to open, save, and close a workbook with Excel VBA, enabling automation of tasks by writing code in the VBA editor, using modules, and managing file paths.

  • Declaring Variables and Using them in VBA9:59

    Declare variables in VBA with dim, assign values to data types such as integer, double, string, boolean, and date, then compute totals and display results in a message box.

  • Variable Types and Option Explicit Statement in VBA10:21

    Master variable types and the option explicit statement in VBA to declare, assign, and manage data safely, improving robustness and reducing errors in Excel VBA projects.

  • Comments6:40

    Explore Excel VBA basics, access the VBA editor, write and run simple code, and add comments to clarify and maintain your VBA projects.

  • For Loop7:58

    Explore Excel VBA for loops to automate repetitive tasks, iterating over cells or items, and filling a range using a start-to-end counter with practical syntax.

  • For Loop Applications9:38

    Automate repetitive tasks in Excel with VBA loops, including for next and for each, learn to apply nested loops on two-dimensional data using ranges and cells to drive powerful macros.

  • For Each Next Loop9:43

    Practice how to use the for each next loop to iterate through ranges, arrays, and other objects in Excel VBA, executing code on each element.

  • Do While and Do Until Loops8:12

    Explore how to use do while and do until loops in Excel VBA to automate repetitive tasks, with examples that print numbers and sum results.

  • Types of Errors in VBA for Excel14:25

    Learn to diagnose and handle VBA errors in Excel, including syntax errors, runtime errors, type mismatch, division by zero, object variable not set, and on error handling techniques.

  • VBA Error Handling16:26

    Master VBA error handling to build robust, user-friendly macros by detecting, managing, and recovering from runtime and compile-time errors with on error resume next and on error go to.

  • Debugging Tools in Excel VBA13:39

    Explore debugging tools in Excel VBA, including the immediate window, breakpoints, watch and local windows, and call stack, and implement robust error handling with on error statements.

  • Immediate Window in Excel VBA8:25

    Master the immediate window in Excel VBA to test code, evaluate expressions, inspect variables in real time, and debug with breakpoints and single-line execution.

  • If & Then Else statements8:34

    Master if and then else in Excel VBA by creating a macro that checks value in A1 and shows a message box based on whether it is greater than ten.

  • Nested IF statement11:37

    Master nested if statements in Excel VBA to create complex decision logic and assign A to F grades from student scores, using the VB editor and modules.

  • AND Operator with If Else Statements13:39

    Explore using the and operator with if else statements in Excel VBA to evaluate multiple conditions and automate decisions based on sales data.

  • Select Case statements6:54

    Learn how to use the select case statement in Excel VBA to control program flow with multiple conditions, including days of week and months, using input and message boxes.

  • Input Box13:42

    Learn how to use input boxes in Excel VBA macros to collect user input, customize prompts, handle yes/no/cancel responses, and display results with message boxes.

  • Message Box13:11

    Learn to create and customize message boxes in Excel VBA, including icons and buttons. Display information, collect input, and customize error handling within macros.

  • String Functions13:41

    Explore how to manipulate strings in Excel VBA by declaring string variables, concatenating values, measuring length, converting to uppercase or lowercase, and extracting substrings with left and right.

  • Using Date, CDate & DateAdd Functions11:03

    Master date handling in Excel VBA by declaring date variables, converting text to date, and performing date calculations with the DateAdd function to add months or days.

  • Splitting Time, TimeSerial & TimeValue Functions14:46

    Learn to manipulate time values in Excel VBA using split function, time serial, and time value functions, including splitting text into arrays and converting text to time.

  • 1D Arrays11:41

    Explore 1D arrays in VBA for Excel, declaring, initializing, accessing, and modifying elements, looping with for and for each, and applying to tasks like listing employee names.

  • User Forms Introduction and Workbook Passwords8:45

    Learn to create and customize Excel VBA user forms with labels, text boxes, and buttons, and implement workbook password protection and encryption for security.

  • Command Button and Events in User Forms10:33

    Learn to build interactive Excel apps with user forms, adding a command button and handling events to automate tasks and calculate totals from text boxes.

  • Command Button and User Form Event Handling7:34

    Learn to create an Excel VBA user form with a command button, handle button and form events, and display messages to build interactive spreadsheets.

  • Text Box Control and Label Property in User Forms9:37

    Explore creating an Excel VBA user form with text box and label controls, customize properties, and capture user input to display via a message box.

  • Radio Buttons in User Forms12:40

    Master creating and using radio buttons in Excel VBA user forms to allow a single selection from a group. Build a simple three-button example with a submit action.

  • Frames6:59

    Learn to use frames in Excel VBA user forms to group controls and enhance the interface, with a simple example of creating and toggling frames.

  • Check boxes in MS Excel User Forms10:46

    Learn to create interactive checkboxes in Microsoft Excel user forms using VBA to capture multiple selections, link them to ranges, and submit for dynamic reports and dashboards.

  • List Boxes in User Form, get and Display Data via Excel Sheets7:30

    Learn to create a user form with list boxes in Excel VBA, populate the boxes from Excel sheet data, and retrieve and display the selected data.

  • Multipages in a Single form and Encryption in User Forms13:07

    Learn to build a multi-page user form in Excel VBA and implement password masking with length limits. Organize data entry with personal, academic, and login pages.

  • Data Validations on User Forms and ComboBox Control13:19

    Create a user form with a combo box, populate options, and apply data validation to ensure valid selections in Excel VBA.

Requirements

  • No Microsoft VBA experience needed

Description

This course is designed to help you learn Microsoft VBA from the ground up and use it to automate everyday tasks across Microsoft Office applications. Whether you are working with Excel, Access, or other Office tools, VBA can save you hours of repetitive work and significantly improve your productivity. This course focuses on practical skills you can apply immediately.


You will start with the fundamentals of Microsoft VBA, even if you have no prior programming experience. Concepts are explained clearly and step by step, so beginners can follow along with confidence. By the end of the early lessons, you will already be writing your own VBA code and understanding how it works behind the scenes.


As the course progresses, you will learn how Microsoft VBA interacts with Excel objects such as worksheets, ranges, charts, and pivot tables. You will build automation tools that reduce manual data entry, clean and analyze data, and generate reports automatically. Every concept is demonstrated using real-world examples.


This course emphasizes hands-on learning. You will practice writing VBA macros, debugging code, and improving performance using best practices. You will also learn how to structure your code so it is readable, reusable, and easy to maintain, which is a key skill for professional VBA developers.


By the end of the course, you will be able to use Microsoft VBA to:

  • Automate repetitive Excel and Office tasks

  • Create and customize macros

  • Build user friendly solutions with forms and controls

  • Handle errors and write reliable VBA code

  • Improve workflow efficiency and accuracy


This course is ideal for business professionals, analysts, students, and anyone who works regularly with Microsoft Office. If you use Excel for reporting, data analysis, or daily operations, learning Microsoft VBA will give you a powerful advantage and help you stand out in your role.


No advanced technical background is required. All you need is a basic understanding of Microsoft Office and a willingness to learn. The course gradually moves from beginner concepts to more advanced Microsoft VBA techniques, ensuring you gain confidence at every stage.


By completing this course, you will have a strong foundation in Microsoft VBA and the ability to build automation solutions that save time, reduce errors, and increase productivity.

Who this course is for:

  • Anyone who wants to work smarter by automating Excel workflows.
  • Anyone who want to learn Microsoft VBA and Macros.
  • You want to learn VBA to take your skills to the next level.
  • Students Looking to Expand their Microsoft Excel Knowledge.