Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Reference Global vars in cell formulas?
Is it possible to reference global/public vars in cell forumulas?
I want to create a function that sets a global variable say true and false, and have a cell formula that has an if statement: =if([Globalvar], do something, "") I can't use a UDF because it causes other Macros I have to fail with RunTimeError 1004. It's something about UDFs not allowed to alter other cells, but the UDF wouldn't be modiying cells, but my non-UDF macros are. So, I'm experimenting with a different approach. Ideas? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Graph data series formulas: How to global-change all sheet reference to formula | Excel Discussion (Misc queries) | |||
Pivot tables - can change row/col vars but can't get rid of existing vars | Excel Programming | |||
Formulas that reference cells that reference another cell | Excel Discussion (Misc queries) | |||
Changing Cell Reference in a macro on global base | Excel Discussion (Misc queries) | |||
Global vars | Excel Programming |