
Learn how VBA and macros automate Excel tasks to save time and reduce human errors, turning multi-step workflows into quick, repeatable processes across workbooks and sheets.
Adopt a practical, hands-on approach to learning Excel automation by moving from understanding concepts to applying them through a case study, verification, and assignments.
Explore what VBA and macros are, learn the difference between them, and write your first macro in the VBA window while mastering Excel and workbook objects, functions, properties, and methods.
Discover how Excel's front end interfaces with a VBA back end, and how macros trigger button clicks to execute code in Excel.
Discover how object oriented programming language uses objects and their properties to communicate with the system in VBA, enabling outsourcing of work beyond plain language.
Learn object referencing in VBA for Excel by using names such as workbooks, sheets, and range, or by index positions, including referencing cells like B5 by row and column.
Learn how to reference Excel functions in VBA by navigating the function library and using worksheet function with dot notation to access sum, lookup, and other Excel specific functions.
Explore VBA's pillars, focusing on properties as object attributes (such as name, row, column, color) and metrics—actions like selecting, deleting, and inserting cells—for practical implementation.
Explore the VBA window and developer tab; learn to create and run macros with sub and end sub, including running via play or F5.
Save workbooks with macros as an Excel macro-enabled workbook to preserve all code, and confirm macros by checking the Visual Basic section.
Enable All Macros (Not Recommended, Potentially dangerous code can run)
The above is the option you should enable carefully. However, unless you receive and open files from non trusted sources or you are not going to implement dangerous codes (I'm not teaching that) you shouldn't worry about it much. I have this enabled for me too!
Explore how objects, functions, properties, and methods form the four pillars that define every action in Excel, with functions on cells, properties on objects, and methods on sheet objects.
Learn how objects connect to properties in Excel with dot notation, and practice getting or changing properties via vb macros on the active sheet.
Learn how objects and methods connect in VBA, using dot notation to call a sheet delete method. Distinguish methods from properties with a hands-on Excel macro.
Explore ways to execute Excel macros, including the play button and F5, plus line-by-line execution with F8 and break on a line using F9.
Learn to write macros by applying variables, loops, and conditional execution with assignments, practicing multiple tasks in this section of Excel automation.
Use variables to make VBA macros dynamic and differentiate them from constants that stay fixed. Define variables before use and store numbers or text in quotes to ensure reusable code.
Explore how to use a for loop to display numbers 1 to 10 in message boxes, defining a range and utilizing next for controlled repetition.
Learn how to use conditional loops in VBA with do until and do while, start from 1, define the ending condition at 10, and manually increment n to repeat actions.
Master conditional statements in VBA to automate Excel tasks, using if, and, or with a logical test to drive a message box, including else and end if.
Discover how select case statements replace multiple if statements in Excel VBA by testing a variable against cases, using else and end select.
Handle Excel VBA macro errors using on error resume next to ignore them or on error goto to take action. Guard against runtime errors like subscript out of range.
Master the core macro vocabulary for Excel as you learn how keywords guide writing macros, enabling tasks like coloring a cell, sorting or filtering data, and adjusting sheet settings.
Learn how the record macro feature in VBA watches your Excel actions and outputs VBA code, helping you extract keywords for basic automation.
Combine writing and recording to create advanced macros, explain when to write versus record, and cover conditional statements and sheet or cell references for driving actions.
Learn to design VBA macros from an end-user perspective, focusing on event-driven execution—time, button, keystroke, or situation—and prepare for subroutines, private subroutines, and the functions routine.
Reveal how excel macros use public subroutines to give end users control, by binding macros to events, buttons, or keyboard shortcuts and clarifying who defines what the macro does.
Learn to create a custom keystroke in Excel by mapping the home key to a macro with VBA, demonstrating the setup and its workbook-only persistence.
Explore private subroutines and system-created macros in Excel automation, using predefined events to trigger macros. Learn where to find macros and how to assign tasks, choosing appropriate end user controls.
Learn how to auto-run a macro on workbook open using VBA, display a message box, and navigate workbook events and private subs within the VBA editor.
Learn how to implement a workbook close event in VBA to timestamp the time of last edits, with manual or automatic recording via prebuilt macros.
Learn to use a worksheet change event to trigger a message box when expenses in the first column exceed 20000, avoiding a button.
Explore how private sub routines govern macro execution in Excel VBA, explain why users cannot directly trigger them, and relate execution conditions to an airbag analogy.
Explore how Excel functions work by examining the sum function, and learn to create a basic VBA function in a module that returns a static value.
Learn to build a dynamic VBA function in Excel that uses cell references as input. Multiply values by 100 and understand how Excel and VBA interact for reusable functions.
Learn application level execution to build macros that work across workbooks, using generic keywords like active sheet, workbook, and active cell selection.
Learn to create an application-specific macro in Excel to count the number of sheets in the active workbook, accessible from any workbook via the quick access toolbar.
Create global functions in Excel using VBA that are accessible from any workbook by defining them in the VB window and saving your macros.
Show how private subs in an add-in file relate to the current workbook and why they are not global across workbooks, with open and close events.
Identify pain points in Excel workflows, automate manual and repetitive tasks, and build customized VBA solutions using recorded code and helpful references.
This course is built for Existing Excel users who would like to make their life more simpler and smarter by automating manual/repetitive work in Excel.
FAQs
Q: I've never done coding before and have no background to VBA. Can I still learn it?
A: Yes, This course is mainly targeted to those who are absolutely new to coding/programming. I've trained over 5000 students with no programming background successfully.
Q: I'm not a great learner, I find difficulty understanding and working with codes/programming. can I learn it?
A: I consider myself as the worst student. So if I can learn it, you can too.
Q: Why is coding/programming considered so difficult? Can a person with not a great memory learn it?
A: Anything is difficult to remember and understand, if you do not have ample background to it, which answers the "WHYs?" of those concepts. Moreover, I'm myself the person who's not too great at memory, and that makes me ensure that I use simple language, with relatable examples and provide ample background to the concepts in my course.
Q: I know how to record macros and I'm doing pretty well? What more this course has to offer?
A: Recording is just one part of your learning. there are many more concepts in VBA which a person should know, to get smarter and more efficient at coding. This course doesn't revolve around recording the macros only. It focuses more on how to Write the macros from scratch. The idea is to make sure you are able to understand the codes so well, that it becomes easy for you to make more smarter macros going forward. Refer to the course contents of this course to know the details of what will be covered in this course.
"If you feel something is complicated or not your cup of tea, its majorly because you tried jumping on the advanced concepts rather than absorbing the basics first" -
This course is an effort to provide ample background of each concepts and stresses on the fundamental areas to ensure that you learn it correctly and can re-implement the concepts when required.
After completing this course you will be able to:
Build your own full fledged macros from scratch
Write your macros
Understand your macros
Edit/Modify your macros to improve performance
Create your own User Defined Functions
Auto execute Macros on Several Events.
Re implement the concepts to different problems
Start Loving to code (in case you currently don't)
Looking forward to having more interactions with you in the course.
Happy Learning!