Running a Macro Without Apparent Code

  • Thread starter Thread starter ryguy7272
  • Start date Start date
You won't learn much from the VBA in that workbook

There is no automation involved except for the formulas in the sheet.

There is no sheet event code in that workbook but some useless lines in the
sheet which you could delete

There is a print preview macro in Module1

If you deleted that macro without deleting Module1 you will still get the macro
warning if that's what you are referring to.

If you want to learn about working with and creating macros see David
McRitchie's "getting started with VBA and macros"

http://www.mvps.org/dmcritchie/excel/getstarted.htm


Gord Dibben MS Excel MVP
 
Thanks guys. What I'm asking is...what makes the SS from that site
automated? I can't see what makes it run... When you enter values into the
yellow cells, what makes the pink cells populate? What makes the
amortization table populate? I can't see any code anywhere!!

Thanks,
Ryan--
 
I bet it just uses formulas.

If the worksheet is protected, you can hide any formula in a locked cell.

In xl2003,
Format|cells|Protection tab
check locked and hidden

Then when the worksheet is protected, you don't get to see the formula in the
formula bar for those cells.
 
Dave, you are right!! I never use protection on my worksheets and I didn’t
know that formulas are actually hidden in locked cells. When I didn't see
any formulas on the sheet, I automatically thought it was some kind of event
code, but no code was revealed when I right-clicked the tab.

Thanks!!
Ryan---
 
For me, I don't usually protect worksheets with a password. (There are too many
resources that will break the password.)

But I do protect worksheets with no passwords--it makes it harder for the user
(me!) to screw up formulas.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top