If you’d like to expand your ability to write programming code, Part 3 of Excel macros is the ideal presentation for you. Excel expert David Ringstrom shows you 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 goes deeper into making decisions in programming code by comparing If and Select Case statements. He also contrasts three ways of 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 he uses during the webcast.
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 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.
Course Series
This course is included in the following series:
4 CoursesExcel Efficiency: Macros
- Excel Efficiency: Intro to Macros Part 1
- Excel Efficiency: Intro to Macros Part 2
- Excel Efficiency: Intro to Macros Part 3
- Excel Efficiency: Intro to Macros Part 4
Learning Objectives
- Identify the keyboard shortcut that takes you to the last-used cell within your workbook.
- Recognize how to create a macro that will unhide all worksheets in a workbook simultaneously.
- Discover how to insert blank module sheets into an Excel workbook.
41 Reviews (127 ratings)
Prerequisites
No Advanced Preparation or Prerequisites are needed for this course. However, it is recommended to take the other courses in the series prior to completing this one.