Maximize Excel: Intro to Macros Part 3
CPE Credit: 2 hours
In this comprehensive course, Excel expert David Ringstrom will teach you how to expand your ability to write programming code. He demonstrates how to create a macro that can reset workbooks that have skewed scrollbars, as well as a second macro that can be used to instantly unhide all worksheets in a workbook at once. David delves deep into making decisions in programming code by comparing If and Select Case statements. He also contrasts three techniques for creating loops in Excel: For Each, Do While, and Do Until. In addition, David explains how to troubleshoot problematic loops in Excel, which in certain instances can cause Excel to crash.
David demonstrates every technique at least twice: first, on a PowerPoint slide with numbered steps, and second, in Excel 2016. He draws your attention to any differences in Excel 2013, 2010, or 2007 during the presentation as well as in his detailed handouts. David also provides an Excel workbook that includes most of the examples used in the course.
Topics Covered
- Providing feedback to a user by way of the MsgBox method within a macro.
- Using a two-word macro to fix an annoying problem in Excel where the used range of Excel expands beyond your actual work area.
- Consolidating data from multiple workbooks into a single worksheet by way of an Excel macro.
- Returning the underlying number for a color that’s assigned to a worksheet cell for use elsewhere.
- Understanding For Each Loops within Excel workbooks.
- Making decisions in Excel by way of If statements.
- Contrasting Do While Loops and Do Until Loops.
- Inserting blank module sheets into Excel workbooks.
- Learning how to use a single line of programming code to unhide all worksheets within a workbook.
- Exploring three ways to cause a macro that’s running in Excel to halt.
Learning Objectives:
- State the keyboard shortcut that takes you to the last used cell within your workbook.
- State which line of programming code would count the number of rows in a contiguous block of cells.
- Recall how to create a macro that will unhide all worksheets in a workbook simultaneously.
Course Number:
DR1925
NASBA Field of Study:
Computer Software and Applications
Level:
Intermediate
Presenter:
David Ringstrom
Prerequisites:
Parts 1 and 2 of this macros series, or equivalent prior experience with writing or editing programming code in Microsoft Excel.
Advanced Preparation:
None
0 Comments