Spreadsheet Models for Managers

Getting Access to Spreadsheet Models for Managers

If Spreadsheet Models for Managersyou use Excel to model businesses, business processes, or business transactions, this course will change your life. You’ll learn how to create tools for yourself that will amaze even you. Unrestricted use of this material is available in two ways.

As a stand-alone Web site
It resides on your computer, and you can use it anywhere. No need for Internet access.
At this Web site
If you have access to the Internet whenever you want to view this material, you can purchase on-line access. Unlimited usage. I’m constantly making improvements and you’ll get them as soon as they’re available.

To Order On Line

Order "Spreadsheet Models for Managers, on-line edition, one month" by credit card, for USD 69.95 each, using our secure server, and receive download instructions by return email.
Order "Spreadsheet Models for Managers, on-line edition, three months" by credit card, for USD 199.00 each, using our secure server, and receive download instructions by return email.
Order "Spreadsheet Models for Managers, downloadable hyperbook edition" by credit card, for USD 199.00 each, using our secure server, and receive download instructions by return email.

To Order by Mail

Make your check payable to Chaco Canyon Consulting, for the amount indicated:
  • For the download: USD 199.00
  • For access online for three months: USD 199.00
  • For access online for one month: USD 69.95
And send it to:
Chaco Canyon Consulting
700 Huron Avenue, Suite 19C
Cambridge, MA 02138

To use the course software you’ll need some other applications, which you very probably already have. By placing your order, you’re confirming that you have the software you need, as described on this site.

Spreadsheet Models for Managers

Module options 13/12
Session Links
  • Module options are directives to the VB compiler
  • They’re somewhat technical, but fortunately we need only two
    • Tell the compiler to require variable type declarations
    • Tell the compiler to number array indices starting at 1 instead of 0
  • These statements are inserted at the top of the module
Option Explicit
Option Base 1

Module options are instructions to the Visual Basic compiler that tell it how to interpret the text you type to define your macros. The two options we’ll be using are selected to make it a little easier for us to understand what to write.

The Option Explicit module option tells the compiler to require that we tell it what kind of data every variable is supposed to hold. If we fail to specify the data type, the compiler will pester us until we do. And if, at run time, the variable receives data of an unexpected type, it will warn us that something is wrong. That’s the real payoff — it helps us figure out what we’ve done wrong.

The Option Base 1 module option just makes it easier to supply indices to arrays. With this option, the first element of any array is number 1. Without this option, the first element is numbered 0. That can get a little confusing, though it does have some advantages. Professional programmers do like those advantages, and they prefer that other scheme.

Last Modified: Wednesday, 27-Apr-2016 04:15:26 EDT

Function Macros

We focus on function macros in this course because they’re more likely than command macros to make a real difference in your facility with constructing models. For instance, when your customer wants to see result streams displayed as [Month1, Month2, Month3, Q1 Total, Month4, Month5, Month6, Q2 Total, …], you probably realize that such a layout makes copy/paste and fill very inconvenient. A macro can provide a simple means of producing the preferred layout from a more easily maintained pure month structure. It’s also easy to construct macros for running sums and running differences. Can you think of other applications for function macros that make your models easier to build and maintain?