From the course: Excel: Macros and VBA for Beginners

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Four ways to launch macros

Four ways to launch macros - Microsoft Excel Tutorial

From the course: Excel: Macros and VBA for Beginners

Start my 1-month free trial

Four ways to launch macros

- There are a lot of ways to launch a macro once it's been recorded I'm going to show you four right now. Here's this data about coffee inventory. It comes in regularly, and then it has to be processed. For one thing, I'm only interested in three of these stores and I want low level alerts. Store B is one I'm interested in. PJ is the manager and that store has one coffee and there is none ordered. Now over here, on the minimum sheet, store B should have a minimum of three, and that's calculated by what's on hand, plus what's on order. The first way to launch this macro: I'm going to go to macros. The macro's name is coffee, and I'm going to simply click Run. Beautiful. A, B, and F are the stores I'm interested in. And we see that both stores B and F have low levels of coffee. Alright, I'm going to delete this. And then, let's say that Helena has three on order now. The second way to launch this code. When…

Contents