Spreadsheet Models for Managers


Getting Access to Spreadsheet Models for Managers


ISpreadsheet Models for Managersf you 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.
Or order via Google Checkout.
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.
Or order via Google Checkout.
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.
Or order via Google Checkout.

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 11J
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.

Subscribe now!

Spreadsheet Models for Managers


Figure Out What Period Number We're In 13/21
Session Links

  • Each cell will contain a call to the function macro Depreciation
  • The function will then figure out the period number
  • It needs to know:
    • Where the caller is (i.e., what cell invoked the function macro)
    • Where the first period is
    • The period number is: Column(caller)-Column(first period)+1
  • To find the location of the cell that invokes a function, ask Excel (it "knows")
  • In VBA for Excel, Excel is called "Application"
    • Application has a property named "Caller" that holds an object that specifies the caller
    • In this instance, Caller holds the invoking cell object
    • To find the column of the invoking cell, ask for its Column property
  • So we need to know how to grab the properties of objects

The story, boiled down, is that when a cell invokes a macro, it deposits a pointer to itself in the Caller property of the Application object. To find out what column we're in when the macro is invoked, we ask for the Column property of the Caller property of the Application object.

Perhaps this seems like a lot of unnecessary mucking around, but think what happens if we don't do it. Then we force the user to supply ther period number in the invocation of the macro. That makes it difficult for users to employ Copy, Paste or Fill when using this macro. They would have to create helper arrays that contain the period number.

For more about my spreadsheet consulting and training services, visit SpreadsheetAce.com.

Last Modified: Wednesday, 22-Oct-2008 05:31:20 EDT

Feeling queasy about spreadsheets?
We run our companies, in part, based on spreadsheets, yet we often wonder if they're really right. Learn more about improving the reliability and effectiveness of your financial models.
More
Sign Up for the On Line Version of This Course
With dozens of solved problems and special course tools, this course can dramatically increase your spreadsheet skills. For just USD 199.00 you receive three months of access with unlimited email support. Learn more about improving your spreadsheet sophistication and effectiveness.
More
Get the Hyperbook Edition of This Course
Identical to the edition you're viewing, but with dozens of solved problems and special course tools, and it stands alone — no Internet connection required. For just USD 199.00, it includes three months of unlimited email support. Learn more about improving your spreadsheet sophistication and effectiveness.
More