Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
execute a macro from within an if(,,) function?
Hi all
Please could somebody tell me if it is possible to call a macro from an if() function eg if (condition true, macro1,macro2) I am thinking not, but ....? Any help would be much appreciated Thanks in advance David |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
execute a macro from within an if(,,) function?
You can call a function if that function just returns a result, but not
anything that looks to change some attribute of the worksheet, such as font, colour. These type of functions are called User Defined Functions (UDF). -- HTH Bob Phillips (remove nothere from the email address if mailing direct) "David Henderson" wrote in message ... Hi all Please could somebody tell me if it is possible to call a macro from an if() function eg if (condition true, macro1,macro2) I am thinking not, but ....? Any help would be much appreciated Thanks in advance David |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
can I execute and 'substring' function in Excel | Excel Worksheet Functions | |||
Shell Function - Execute DOS Command | Excel Programming | |||
VBA new function doesn't execute | Excel Programming | |||
VBA new function doesn't execute | Excel Programming | |||
VBA new function doesn't execute | Excel Programming |