
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
document your code with headers that include author, modified by, date, and purpose. declare all variables at the top and annotate with apostrophe comments.
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.
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.
Learn to design flexible procedures by passing arguments to a public function that computes age from a birth date, returning an integer.
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.
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.
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.
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.
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.
Learn to replace nested ifs with a select case to manage multiple conditions efficiently in Excel VBA, including case, case else, and range tests.
Master Excel VBA for next loops to iterate across cells, using offset, step, and reverse order, with clear boundaries and automatic loop control.
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.
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.
Create and validate user forms to build interactive interfaces for macros in Excel, enabling file selection and structured data input.
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.
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.
Learn to assign unique names to form controls, reference them in VBA using Me, and manipulate properties like caption to respond to user selections.
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.
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.
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.
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.
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.
Step into, step over, and step out to debug Excel VBA, test values, inspect variables, and ensure functions return the correct result.
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.
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.
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.
Explore advanced Excel 2007 functions, including financial, if and nested if, text, and lookup utilities; master data analysis with scenario manager, goal seek, subtotals, data tables, pivot tables, and macros.
Learn to use Excel's advanced functions, focusing on the financial function for loan payments, including syntax with rate, nper, and pv, and how to compute yearly and monthly payments.
Explore the if function in Excel 2007, building simple and nested statements to award bonuses or commissions based on sales thresholds, using and/or criteria and text results.
Learn to clean and format text data in Excel 2007 using text functions like proper, trim, right, concatenate, and exact to fix imports from external sources.
Learn to use Excel 2007's sumif to sum amounts by state (Massachusetts, New Hampshire) and apply countif to tally matching records across the state and amount columns.
Explore the lookup function by locating an employee in a table array and retrieving department, salary, date of hire, and location using absolute references or named ranges.
Discover excel 2007's show formulas feature to view underlying equations in complex spreadsheets, and learn to switch back to values for clarity.
Trace cell precedents and dependents to visualize how a formula relates to other cells. Use arrows to show relationships and remove or tailor arrow types for clarity.
Learn how to use the formula evaluator in Excel to step through nested if statements, see intermediate results, and understand how complex expressions are evaluated.
Audit formulas in Excel 2007 using error check and trace tools to locate errors across a spreadsheet, following precedents and dependencies to the root cause.
Utilize subtotals in Excel to total sales, commissions, and bonuses by region or by quarter, view regional totals with collapsible outlines, and switch or remove subtotals as needed.
Use goal seek in Excel 2007 VBA via what-if analysis to set monthly loan payments to 500 by adjusting the loan amount, exploring rate and term options.
Explore the scenario manager in Excel 2007 VBA to compare multiple car loan scenarios using named ranges, changing cells, and a scenario summary to visualize payment, loan, and interest variations.
Learn to create customized numeric formats in Excel 2007, including four-section formats and conditional formatting, and apply custom product codes like 00-345 with zeros, pound signs, and color coding.
Apply a four-section custom numeric format to cells, controlling positive, negative, zero, and text values, with color and currency options, including a five-digit product code with a dash.
Learn to apply conditional formatting in Excel 2007, use presets to highlight cells below the minimum, customize formats, and copy formats with paste special to apply across a range.
Explore conditional formatting in Excel 2007, applying data bars, color scales, and icon sets to visualize values; learn top and bottom rules, mixed formats, and accessibility considerations.
Master managing conditional formatting in Excel by editing and reordering rules, adding ones, and applying blue and red colors to highlight negatives, top three positive values, blanks, and data changes.
Learn how to design an Excel data table, or database list, with meaningful unique field headings and one record per row, avoiding blank rows and ensuring data consistency.
Explore logical operators in Visual Basic with if-then-else, using equals, not equal to, less than, greater than, less than or equal to, and greater than or equal to.
Learn to format and sort large data tables by adding multiple sorting levels, copying or deleting levels, and adjusting sort order and case sensitivity for numeric values.
Explore how to apply and clear filters in Excel tables, use drop-downs to limit data by multiple categories, view top or bottom results, and build custom, range, and or conditions.
Learn to use Excel 2007's advanced filter to build multi-criteria queries, specify criteria ranges, copy results to another location, or filter in place, with real examples and pivot tables.
Explore pivot tables to analyze data by sorting and filtering a table. Create a pivot table or pivot chart from the insert tab on a new worksheet.
Utilize the pivot table field list pane to sum units sold and drill into product, region, and sales rep breakdowns, with year filters for focused analysis.
Learn to use pivot table options in Excel 2007 for average and maximum value calculations, currency formatting, and year filtering to analyze Olympic medal data by country and event.
Sort pivot table data by fields, expand and collapse layers, and use calculated fields with sum, average, and currency formatting to analyze bonuses.
Explore pivot table formatting in the design tab, choose styles, adjust layout (compact, outline, tabular), and set blank rows, grand totals, subtotals, and banded rows/columns.
Explore how to create pivot charts from pivot tables or from scratch, customize chart styles, and use filters to analyze sales by salesperson, product ids, and time.
Explore formatting a pivot chart using design, layout, and format options, and use the pivot chart filter and analysis tab to refine data on its own sheet.
Develop a user form in Excel VBA by naming controls as you add them, create a naming convention, and leverage screen updating to speed code and improve accuracy.
Learn to import data from Microsoft Access and text files using Excel's data tab, create and manage a database connection, and control refresh options and data layout.
Import text files into Excel 2007 using the delimited or fixed width options, choose tab or comma delimiters, and set column data types and refresh connections.
Learn how to manage data updates in Excel by choosing between manual refresh and automatic update, and how to refresh all external data sources or a single table.
Export data from Excel by saving as tab or comma delimited text to share with databases or Access, keeping only the active sheet and noting formatting loss.
Learn to automate simple tasks in Excel using the macro recorder, including naming macros, assigning a keyboard shortcut, inserting labels across worksheets, and applying basic formatting.
Run and test a macro in Excel 2007 by recording and naming it, use Ctrl+O, and generate dates that fill down to the first of each month across sheets.
Learn to run macros from a custom quick access toolbar and keyboard shortcuts in Excel 2007, including adding macro buttons, customizing icons and tooltips, and naming macros for easy use.
Master advanced Excel features: data analysis tools, scenario manager, goal seek, data tables, sorting and filtering, pivot tables, charts, conditional formatting, and macros with VBA.
Save 20% by buying both courses. This bundle includes:
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.