Home > Store > Programming > Visual Basic

Excel VBA and Macros with MrExcel LiveLessons (Video Training)

Excel VBA and Macros with MrExcel LiveLessons (Video Training)

Your browser doesn't support playback of this video. Please download the file to view it.

DVD

  • Your Price: $39.99
  • List Price: $49.99
  • Usually ships in 24 hours.

Downloadable Video

  • Your Price: $39.99
  • List Price: $49.99
  • About this video
  • Accessible from your Account page after purchase. Requires the free QuickTime Player software.

    Videos can be viewed on: Windows 8, Windows XP, Vista, 7, and all versions of Macintosh OS X including the iPad, and other platforms that support the industry standard h.264 video codec.

Register your product to gain access to bonus material or receive a coupon.

Buy Lessons

DRM-Free Video Downloads. Purchase and immediately download individual lessons from this video. Make your lesson selections below and click on the Buy button.

Videos can be viewed on: Windows 8, Windows XP, Vista, 7, and all versions of Macintosh OS X including the iPad, and other platforms that support the industry standard h.264 video codec. Requires the free QuickTime Player software.

Lesson 1

Recording Macros, Downloadable Version

Have you ever recorded a macro? How did that work for you? Did it work the next day when you had more records or fewer records? The answer is probably "No" and here's why. The macro recorder starts with one very annoying default setting. If Microsoft would change this default, people would have much better success with the macro recorder. In these seven lessons, Bill Jelen will show you how to change that setting, which tools to completely avoid, and workarounds so that you can get useful code.

Duration: 01:02:33  File Size: 87 MB

Lesson 2

VBA Editor, Downloadable Version, The

Join Bill Jelen as you take a look at the Visual Basic editor in Microsoft Excel 2007. The editor will check your code, as you write it. It provides context sensitive help and even has a 400-page guide to every property, method, and object; plus it has great debugging tools. Learn how to set up the Excel Window and the VBA Window and you can watch your code line by line. Breakpoints are also discussed.

Duration: 00:52:47  File Size: 69 MB

Lesson 3

VBA Syntax, Downloadable Version

These lessons are devised to get you up to speed so you can look at object-oriented code and understand it. They will also introduce the first concept the macro recorder will never do, which is using variables. This is a critical concept if you are dealing with datasets with a different number of rows every day. You'll then learn how to use those variables to refer to cells. You'll learn to stop using the Range object and start using the Cells object, which is much more flexible.

Duration: 00:54:27  File Size: 55 MB

Lesson 4

Making Decisions, Downloadable Version

Life is all about decisions, and VBA requires lots of decisions, too. Do we include these records in this report? Do we pay a bonus to this region this month? How do we classify this revenue by product line? In these three lessons, you'll learn the basic If Then logic as well as tricks for more flexible ways to make decisions such as If Then Else and Select Case.

Duration: :00:16:13  File Size: 19 MB

Lesson 5

Looping, Downloadable Version

Writing code is a way to automate a redundant task. Looping is a way to run your code over and over and over again. You can repeat the code for every worksheet in the workbook, every product in the catalog, every city in the country, or even every row in the worksheet - and that is 1.1 million rows now! With a loop, write the code once and have Excel run the code over and over. This is where the power of VBA really shines through. In these lessons you're going to learn about the basic For Next Loop as well as some other basic loops from Pascal. You will also learn about the new object-oriented loop call For Each.

Duration: 01:16:15  File Size: 96 MB

Lesson 6

Worksheets & Workbooks, Downloadable Version

These lessons will instruct you how to take data to multiple worksheets or multiple workbooks. It will also show you how to construct those worksheets or workbooks on the fly. Watch how to split a large dataset to create one workbook for, say, every customer. Then see the opposite, you'll take every single workbook in a folder and bring them back into one large worksheet. Can you say, "Budget rollups"?

Duration: 00:56:33  File Size: 89 MB

Lesson 7

Formulas, Downloadable Version

This set of lessons begins with discussion of the A1-style formulas that everyone knows and loves but moves quickly onto an R1C1-style formula that works better with VBA. You will also take a look at how to take Excel's built-in functions and use them in your VBA code, or how you can write new code in VBA to create new functions that can be used in your worksheet.

Duration: 00:45:16  File Size: 67 MB

Lesson 8

Power Tools, Downloadable Version

These lessons cover the powerful tools in Excel and how to do those with VBA. You'll cover charts, filters, and pivot tables. You'll also discover a new power tool that is exclusive to VBA called an Event Handler Macro. These amazing tiny little macros will run in response to various events in Excel like selecting a new worksheet or even selecting a new cell. They are amazing and you've got to check them out!

Duration: 00:44:57  File Size: 71 MB

Lesson 9

Interacting, Downloadable Version

Let's face it, you started writing VBA in order to get rid of those annoying, redundant jobs, right? Let's really get rid of them and have someone else run your code. In these lessons, you'll learn how to interact with a person running your code. How to ask questions. How to report status. And, if something unexpected happens, how to provide a soft landing for that error, tell them what went wrong, and who they can call to solve the problem. Finally you'll see how to run your macros in half the time.

Duration: 00:58:21  File Size: 78 MB

Lesson 10

Best Practices, Downloadable Version

Think about setting up a dual-workbook system - one workbook has all the data; the other workbook has all the code. When you get to the point where you are sending your macros out to be run by everyone in the sales force; this technique will save you months of headaches. You'll cover separating code and data, as well as cleaning recorded code.

Duration: 00:18:37  File Size: 24 MB

Your browser doesn't support playback of this video. Please download the file to view it.

Actual product comes full screen and in high resolution.

Your browser doesn't support playback of this video. Please download the file to view it.

Actual product comes full screen and in high resolution.

Your browser doesn't support playback of this video. Please download the file to view it.

Actual product comes full screen and in high resolution.

Your browser doesn't support playback of this video. Please download the file to view it.

Actual product comes full screen and in high resolution.

Your browser doesn't support playback of this video. Please download the file to view it.

Actual product comes full screen and in high resolution.

Your browser doesn't support playback of this video. Please download the file to view it.

Actual product comes full screen and in high resolution.

Your browser doesn't support playback of this video. Please download the file to view it.

Actual product comes full screen and in high resolution.

Your browser doesn't support playback of this video. Please download the file to view it.

Actual product comes full screen and in high resolution.

Your browser doesn't support playback of this video. Please download the file to view it.

Actual product comes full screen and in high resolution.

Your browser doesn't support playback of this video. Please download the file to view it.

Actual product comes full screen and in high resolution.

Description

  • Copyright 2009
  • Dimensions: 7-1/2 X 9-1/8
  • Pages: 144
  • Edition: 1st
  • DVD
  • ISBN-10: 0-7897-3938-0
  • ISBN-13: 978-0-7897-3938-4

DVD includes:

  • 7+ HOURS OF VIDEO INSTRUCTION
  • 50 TIPS & TECHNIQUES
  • SKILLS YOU CAN LEARN IN Fifteen MINUTES OR LESS

In Excel VBA and Macros with MrExcel, renowned Excel instructor and author Bill Jelen (MrExcel) teaches all the skills you’ll need to automate virtually any routine task with Excel and build powerful Excel macros! This package brings together nearly eight hours hours of personalized, expert video training: 50 quick, practical video lessons that demonstrate all the skills you’ll need to successfully use both the Excel macro recorder and the Visual Basic for Applications development environment. You’ll learn one step at a time, at your own pace–using hands-on examples that reflect realistic challenges and showcase Excel’s remarkable capabilities. Along the way, Jelen will take you from the absolute basics through PivotTables and data filtering.

Excel VBA and Macros with MrExcel delivers the power of the best classroom training at a small fraction of the cost. If you don’t have time to read a huge book on Excel macros and scripting, this is exactly what you’ve been searching for!

For all serious Excel users: managers, financial pros, entrepreneurs, marketers, analysts, and more.

Looking for a better way to master today’s rapidly changing technologies? Want expert help, but don’t have the time or energy to read a book? Can’t find classroom training worth the money? Discover LiveLessons: self-paced, personal video instruction from the world’s leading technology experts.

  • LiveLessons are video courses, on DVD with a book supplement, that are organized into bite-sized, self-contained sessions–you’ll learn key skills in as little as fifteen minutes!
  • Each lesson begins with well-defined learning objectives and ends with comprehensive summaries, which help you track your progress.
  • Follow along as your trainer shows you how to make the most of Excel’s macro recorder and its powerful VBA development environment!

Bill Jelen is called MrExcel for a reason! Nobody knows more about Excel macros and scripting–and nobody knows more about teaching these skills to working professionals! Thought you’d never write your own Excel macros and programs? Think again! You will…and you can start in just minutes!

Bill Jelen, known worldwide as MrExcel, presents live Excel seminars across the United States and appears in over 800 podcast episodes. His 20 Excel books include Special Edition Using Excel 2007 and VBA and Macros for Microsoft Excel. His website, MrExcel.com, answers 30,000 Excel questions per year.

System Requirements

  • OS: Windows 98, 2000, XP, and Windows Vista; Mac OS X; versions of Linux with the Flash 8 Player or later.
  • Multimedia: DVD drive, an 1024x768 or higher display, and a sound card with speakers.
  • Computer: 500MHz or higher, 128MB RAM or more

Microsoft Office Spreadsheets/Desktop Applications

$49.99 USA / $59.99 CAN / £31.99 U.K.

mylivelessons.com

informit.com/que

Sample Content

Table of Contents

Part 1 Recording Macros XIV

Lesson 1    Enable the Developer Tab 1

    What You Will Learn................................................................................1

    Notes from the Lesson............................................................................1

    Differences in Excel 2003........................................................................1

Lesson 2    Recording Your First Macro 2

    What You Will Learn................................................................................2

    Notes from the Lesson............................................................................2

    In Excel 2003 ...........................................................................................2

    Code from the Lesson.............................................................................3

Lesson 3    Running a Macro 4

    What You Will Learn................................................................................4

    Notes from the Lesson............................................................................4

    In Excel 2003 ...........................................................................................5

    Code from the Lesson.............................................................................5

Lesson 4    Keys to Successful Recording 6

    What You Will Learn................................................................................6

    Notes from the Lesson............................................................................6

    In Excel 2003 ...........................................................................................6

    Code from the Lesson.............................................................................7

Lesson 5    Variable Number of Rows 8

    What You Will Learn................................................................................8

    Related Lessons.......................................................................................8

    Notes from the Lesson............................................................................8

    Code from the Lesson.............................................................................8

Lesson 6    Adding Totals 9

    What You Will Learn................................................................................9

    Notes from the Lesson............................................................................9

    Code from the Lesson.............................................................................9

Lesson 7    Opening a Workbook with Macros 12

    What You Will Learn..............................................................................12

    Notes from the Lesson..........................................................................12

    In Excel 2003 .........................................................................................12

Part II Visual Basic Editor 13

Lesson 8    Introducing the VBA Editor 14

    What You Will Learn..............................................................................14

    Notes from the Lesson..........................................................................14

    In Excel 2003 .........................................................................................14

    Code from the Lesson...........................................................................14

Lesson 9    VBA Help 15

    What You Will Learn..............................................................................15

    Notes from the Lesson..........................................................................15

Lesson 10    Object Browser 16

    What You Will Learn..............................................................................16

    Notes from the Lesson..........................................................................16

Lesson 11    Stepping Through Code 17

    What You Will Learn..............................................................................17

    Related Lessons.....................................................................................17

    Notes from the Lesson..........................................................................17

    Code from the Lesson...........................................................................18

Lesson 12    Immediate Window 19

    What You Will Learn..............................................................................19

    Notes from the Lesson..........................................................................19

    Code from the Lesson...........................................................................19

Lesson 13    The Watch Window 22

    What You Will Learn..............................................................................22

    Notes from the Lesson..........................................................................22

    Code from the Lesson...........................................................................22

Lesson 14    Breakpoints 24

    What You Will Learn..............................................................................24

    Notes from the Lesson..........................................................................24

    Code from the Lesson...........................................................................24

Part III VBA Syntax 25

Lesson 15    VBA Parts of Speech 26

    What You Will Learn..............................................................................26

    Notes from the Lesson..........................................................................26

Lesson 16     Using Regular Variables 27

    What You Will Learn..............................................................................27

    Related Lesson ......................................................................................27

    Notes from the Lesson..........................................................................27

    In Excel 2003 .........................................................................................27

    Code from the Lesson...........................................................................28

Lesson 17    Using Object Variables 29

    What You Will Learn..............................................................................29

    Notes from the Lesson..........................................................................29

    Code from the Lesson...........................................................................30

Lesson 18    Better Ways to Refer to Cells 31

    What You Will Learn..............................................................................31

    Notes from the Lesson..........................................................................31

    Code from the Lesson...........................................................................31

Lesson 19    To Declare or Not To Declare? 33

    What You Will Learn..............................................................................33

    Notes from the Lesson..........................................................................33

    Code from the Lesson...........................................................................34

Part IV Making Decisions 35

Lesson 20    If…Then 36

    What You Will Learn..............................................................................36

    Notes from the Lesson..........................................................................36

    Code from the Lesson...........................................................................36

Lesson 21    If…Then…Else 37

    What You Will Learn..............................................................................37

    Notes from the Lesson..........................................................................37

    Code from the Lesson...........................................................................37

Lesson 22    Select Case 38

    What You Will Learn..............................................................................38

    Notes from the Lesson..........................................................................38

    Code from the Lesson...........................................................................38

Part V Looping 40

Lesson 23    Finding the Final Row 41

    What You Will Learn..............................................................................41

    Notes from the Lesson..........................................................................41

    Code from the Lesson...........................................................................41

Lesson 24    Basic Looping 42

    What You Will Learn..............................................................................42

    Notes from the Lesson..........................................................................42

    Code from the Lesson...........................................................................43

Lesson 25    Loop Example 44

    What You Will Learn..............................................................................44

    Notes from the Lesson..........................................................................44

    Code from the Lesson...........................................................................45

Lesson 26    Deleting While Looping 46

    What You Will Learn..............................................................................46

    Notes from the Lesson..........................................................................46

    Code from the Lesson...........................................................................46

Lesson 27    Every Other Row Loops 47

    What You Will Learn..............................................................................47

    Notes from the Lesson..........................................................................47

    Code from the Lesson...........................................................................47

Lesson 28    Other Legacy Loops 49

    What You Will Learn..............................................................................49

    Notes from the Lesson..........................................................................49

    Code from the Lesson...........................................................................49

Lesson 29    For Each Loops 51

    What You Will Learn..............................................................................51

    Notes from the Lesson..........................................................................51

    Code from the Lesson...........................................................................52

Part VI Worksheets and Workbooks 53

Lesson 30    Creating Worksheets 54

    What You Will Learn..............................................................................54

    Related Lesson ......................................................................................54

    Notes from the Lesson..........................................................................54

    Code from the Lesson...........................................................................55

    Bonus Code .................................................................................56

Lesson 31    Creating Workbooks 57

    What You Will Learn..............................................................................57

    Notes from the Lesson..........................................................................57

    Code from the Lesson...........................................................................58

Lesson 32    Listing Files in a Folder 60

    What You Will Learn..............................................................................60

    Notes from the Lesson..........................................................................60

    Code from the Lesson...........................................................................60

    Bonus Code .................................................................................63

Lesson 33    Combining Workbooks 65

    What You Will Learn..............................................................................65

    Related Lesson ......................................................................................65

    Notes from the Lesson..........................................................................65

    Code from the Lesson...........................................................................66

Part VII Formulas 68

Lesson 34    A1-Style Formulas 69

    What You Will Learn..............................................................................69

    Related Lesson ......................................................................................69

    Notes from the Lesson..........................................................................69

    Code from the Lesson...........................................................................70

Lesson 35    R1C1-Style Formulas 71

    What You Will Learn..............................................................................71

    Notes from the Lesson..........................................................................71

    Code from the Lesson...........................................................................72

Lesson 36    Using Excel Functions in Code 73

    What You Will Learn..............................................................................73

    Notes from the Lesson..........................................................................73

    Code from the Lesson...........................................................................74

Lesson 37    Adding Functions to Excel 85

    What You Will Learn..............................................................................85

    Notes from the Lesson..........................................................................85

    Code from the Lesson...........................................................................86

Part VIII Power Tools 87

Lesson 38    Advanced Filter 88

    What You Will Learn..............................................................................88

    Notes from the Lesson..........................................................................88

    Code from the Lesson...........................................................................90

Lesson 39    Filter Instead of Looping 92

    What You Will Learn..............................................................................92

    Related Lesson ......................................................................................92

    Notes from the Lesson..........................................................................92

    Code from the Lesson...........................................................................93

Lesson 40    Pivot Tables 94

    What You Will Learn..............................................................................94

    Notes from the Lesson..........................................................................94

    Code from the Lesson...........................................................................95

Lesson 41    Charts 98

    What You Will Learn..............................................................................98

    Notes from the Lesson..........................................................................98

    Code from the Lesson...........................................................................99

Lesson 42    Event Handler Macros 100

    What You Will Learn............................................................................100

    Notes from the Lesson........................................................................100

    Code from the Lesson.........................................................................101

Part IX Interacting 103

Lesson 43    Interacting 104

    What You Will Learn............................................................................104

    Notes from the Lesson........................................................................104

    Code from the Lesson.........................................................................105

Lesson 44    Getting File Names 106

    What You Will Learn............................................................................106

    Notes from the Lesson........................................................................106

    Code from the Lesson.........................................................................106

Lesson 45    Userforms 108

    What You Will Learn............................................................................108

    Related Lessons...................................................................................108

    Notes from the Lesson........................................................................108

    Code from the Lesson.........................................................................111

Lesson 46    Error Handling 112

    What You Will Learn............................................................................112

    Notes from the Lesson........................................................................112

    Code from the Lesson.........................................................................113

Lesson 47    Suppressing Alerts 117

    What You Will Learn............................................................................117

    Notes from the Lesson........................................................................117

    Code from the Lesson.........................................................................117

Lesson 48    Faster Code 118

    What You Will Learn............................................................................118

    Notes from the Lesson........................................................................118

    Code from the Lesson.........................................................................118

Part X Best Practices 119

Lesson 49    Separating Code and Data 120

    What You Will Learn............................................................................120

    Notes from the Lesson........................................................................120

    Code from the Lesson.........................................................................120

Lesson 50    Cleaning Recorded Code 122

    What You Will Learn............................................................................122

    Notes from the Lesson........................................................................122

    Code from the Lesson.........................................................................123

    Next Steps

TOC, 9780789739384, MF

Updates

Submit Errata

More Information

ONE MONTH ACCESS!

WITH PURCHASE


Get unlimited 30-day access to thousands of Books & Training Videos about technology, professional development and digital media If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months.