Hi Jeffrey,

The way you've done it is correct. It looks as though your experiments
have lead you to the correct conclusion, though I suspect you're a
little unclear why.

If you look at your first function, it doesn't take any inputs, so you
can't use it to reference any other cells when you use it on the
spreadsheet.  Therefore Excel doesn't know to trigger your function
when the drop-down changes.

In your second example, the function does take an input and you're
referencing your drop down.  When Excel builds its calculation tree,
it knows to call your function when the drop-down updates.

Try Googling for Excel calculation tree to see how Excel goes about
figuring out what to calculate and when.

Regards,

Chris Spicer
www.Technicana.com

--~--~---------~--~----~------------~-------~--~----~
----------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 5,200 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe
-~----------~----~----~----~------~----~------~--~---

Reply via email to