Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Excel 2007 VBA and Advanced (2-Course Bundle)
Rating: 4.7 out of 5(15 ratings)
83 students

Excel 2007 VBA and Advanced (2-Course Bundle)

Learn the Visual Basic programming language and take your Excel skills to the next level in this 2-course bundle.
Last updated 3/2017
English
English [Auto],

What you'll learn

  • Understand Macro Development Basics
  • Understand VBA Programming Fundamentals
  • Use VBA Functions
  • Create User Forms
  • Use Advanced Functions
  • Working with PivotTables
  • Using Advanced Formatting in Excel
  • Importing and Exporting Data

Course content

2 sections • 84 lectures • 7h 26m total length
  • Introduction2:43

    Learn to build powerful Excel 2007 VBA macros by understanding the Excel object model, recording macros, mastering variables, control structures, loops, and debugging in the VBA editor.

  • Understanding Objects1:50

    Master the Excel object model from the application to workbooks, worksheets, and ranges, and learn how VBA can programmatically control Excel behavior and cell selections.

  • Referencing Workbooks, Worksheets, and Cells3:07

    Discover how to reference the active workbook, active worksheet, and active cell in Excel VBA, use offset for navigation, and grasp the object model from Application to Range.

  • Displaying the Developer Tab2:10

    Learn to set up the excel 2007 development environment, enable the developer tab, and start creating your first macro by recording macros and using relative references.

  • Setting Macro Trust within Excel1:58

    Configure macro trust in Excel via the trust center to enable VBA content, and manage macro settings, including disabling all macros with notification or allowing digitally signed macros.

  • Recording a Macro6:40

    Record a macro in Excel using Visual Basic to automate repetitive tasks, store it in the personal macro workbook or the current workbook, and document your code.

  • Running a Macro0:40

    Learn how to run a macro in Excel VBA by opening Visual Basic, navigating to macros, selecting and executing a macro, and observing its effect across sheets.

  • Editing a Macro with the Visual Basic Editor3:03

    Edit a macro in Excel using the Visual Basic Editor, record keystrokes, assign a keyboard shortcut, and test the macro to see how active cell ranges and formulas are captured.

  • Examining the VBA Editor Menu and Toolbar9:43

    Explore the Visual Basic Editor and its menu and toolbar, using code, Object Browser, and Immediate Window to develop Excel macros, and manage missing references.

  • Setting VBA Editor Options8:52

    Set up the Excel VBA editor options to improve coding efficiency: disable auto syntax check, require variable declarations, adjust indentation and fonts, tune grid and docking, and configure project properties.

  • Reviewing the Project Explorer1:14

    the project explorer shows everything within this workbook, including all sheets. i place code under modules, like module 1 for macros, to avoid losing code if a sheet is deleted.

  • Reviewing the Properties Window3:04

    Navigate the properties window to edit properties of the selected object in the VBA editor, renaming modules and sheets, toggling visibility, and controlling workbook elements directly.

  • Understanding the Object and Procedure Drop-Down Lists1:16

    Explore the object and procedure drop-down lists in Excel 2007 VBA, switch between worksheet objects and modules, view declarations and properties for selected item, and write code in code environment.

  • Viewing the Immediate Window2:36

    Use the immediate window to test functions and see their return values by typing a question mark with the function name. Inspect and adjust variables on the fly.

  • Viewing the Object Browser5:36

    Explore the Excel 2007 VBA object browser to access built-in functions, dates and time tools, and the object model with properties, methods, and events.

  • Understanding Functions and Procedures5:53

    Explore the difference between a procedure (subroutine) and a function in VBA, and learn how public and private access control shapes macro design in Excel.

  • Dimensioning Variables12:27

    Dimension variables in Excel VBA with dim, name them, and assign types like string, integer, long, double, date, and boolean while understanding memory, quotes, and overflow errors.

  • Understanding Object Variables5:10

    Explore object variables in Excel VBA, using the object model to hold ranges, worksheets, and workbooks. Use a consistent naming convention with prefixes for variable types to improve readability.

  • Understanding Variables and Scope5:44

    Understand how variables have scope within functions and modules in Visual Basic, using Option Explicit, private and public declarations, and how global module variables persist in memory.

  • Commenting Your Code4:53

    document your code with headers that include author, modified by, date, and purpose. declare all variables at the top and annotate with apostrophe comments.

  • Creating Constants4:28

    Define constants in Excel VBA to create values that never change, using meaningful names for dropdown options (0, 1, 2), learning constant scope and why constants differ from variables.

  • Manipulating Data6:33

    Declare variables for first name and last name, then manipulate data by concatenating them with a space using ampersand and sometimes plus, while avoiding type mismatches with integers.

  • Understanding Procedure Arguments9:42

    Learn to design flexible procedures by passing arguments to a public function that computes age from a birth date, returning an integer.

  • Using the InputBox() Function11:22

    Explore how the input box function prompts users for data, returns the input to a string variable, and writes it to the active cell, while noting its lack of validation.

  • Understanding the MsgBox() Function10:02

    Explore how to use the MsgBox function in VBA as both a procedure and a function, selecting buttons, icons, default options, and returning values for debugging and decision making.

  • Using String Functions12:07

    Explore left, right, mid, and InStr string functions to extract first names, last names, and spaces, and use trim to clean results for robust VBA string parsing.

  • Using Date Functions11:08

    Use Excel VBA date functions to obtain current date, month, year, and weekday with a configurable week start; validate input with input box and CDate.

  • Using If/Then/Else6:41

    Master conditional operations in VBA, including if/then/else and select case, and learn how to design robust functions with one entrance and one exit, plus basic looping and argument-based variables.

  • Creating a Select/Case Statement5:02

    Learn to replace nested ifs with a select case to manage multiple conditions efficiently in Excel VBA, including case, case else, and range tests.

  • Creating For/Next Loops6:58

    Master Excel VBA for next loops to iterate across cells, using offset, step, and reverse order, with clear boundaries and automatic loop control.

  • Creating Do Loops6:20

    Explores creating do loops in vba, highlighting loop variable scope, using do until with conditions, and avoiding infinite loops by incrementing the loop variable and using control break.

  • Creating While/Wend Loops5:00

    Explore creating while/wend loops in Excel VBA, compare with for next and do while constructs, and learn to call subroutines, manage increments, and use select case and conditions.

  • Understanding UserForms1:09

    Create and validate user forms to build interactive interfaces for macros in Excel, enabling file selection and structured data input.

  • Understanding Controls11:28

    Design and manage an Excel VBA user form with frames as containers and use common controls—labels, text boxes, combo boxes, list boxes, and radio buttons—plus naming prefixes for code references.

  • Setting Control Properties1:06

    Set control properties, methods, and events using the property window to customize forms and palettes. Apply changes on form load by adjusting background colors and propagating tweaks across controls.

  • Referencing Controls in VBA Code2:44

    Learn to assign unique names to form controls, reference them in VBA using Me, and manipulate properties like caption to respond to user selections.

  • Responding to Events11:16

    Demonstrates handling button click events in a VBA form and unloading the form. Explains cancel and default properties, and using select case to color a worksheet while optimizing screen updating.

  • Creating a Function to Open a UserForm2:19

    Learn how to create a public sub in VBA that opens a user form color chooser via form.show, with modal behavior returning control when the form closes.

  • Understanding Logic Errors and Syntax Errors4:22

    Learn to debug Excel VBA applications by identifying syntax and logic errors, using compile and debug tools, creating comprehensive tests, and checking for missing references in tools references.

  • Running Your Macro from the VBA Editor1:01

    Run macros in the VBA editor with F5 or run button, and test a function in the immediate window by prefixing it with a question mark and trying options 0-3.

  • Setting Breakpoints1:35

    Set breakpoints in Visual Basic to pause code execution and inspect a function, noting that you cannot place a breakpoint on a variable declaration or constant.

  • Stepping Through Your Macro3:44

    Step into, step over, and step out to debug Excel VBA, test values, inspect variables, and ensure functions return the correct result.

  • Creating Watches6:58

    Create watches to debug VBA loops by watching variables in the watch window and immediate window, using breakpoints and break conditions to stop when a value meets a condition.

  • Adding Error Trapping11:24

    Learn to add a robust vba error trap using on error goto with a named error trap, display the error number and description in a message box, and exit gracefully.

  • Course Recap3:25

    Apply takeaways from Excel VBA basics: manage application, workbook, worksheet, and range objects; use active sheets and cells; write and debug powerful macros with the VBA editor.

Requirements

  • Intermediate to advanced Excel knowledge required.

Description

Save 20% by buying both courses. This bundle includes:

  • Excel 2007 VBA 
  • Excel 2007 Advanced

The Excel 2007 VBA course introduces you to Excel Macro programming using Microsoft's Visual Basic for Applications (VBA). The overall focus of this course is to teach you proper Visual Basic programming techniques along with an understanding of Excel's object structure. Other topics in this course include recording macros, programming basics, proper variable declaration, Visual Basic functions, control structure use, looping, and UserForm creation. The final section deals with the debugging tools included in the Microsoft VBA editor and methods on how to effectively use them.

The Excel 2007 Advanced course builds on knowledge gained in the Introduction and Intermediate courses. In Advanced Microsoft Office Excel 2007, you learn how to analyze and manage your data. You will explore the many data analysis tools available in Excel, such as formula auditing, goal seek, Scenario Manager, and subtotals. Additionally, during this course, you will use advanced functions, learn how to apply conditional formatting, filter and manage your data lists, create and manipulate PivotTables and PivotCharts, and record basic Macros.

Who this course is for:

  • Students wishing to learn Visual Basic programming techniques and advanced Excel features.