Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to write a VBA function to be called by users
in an Excel formula that either returns a value or, if the user has specified an impossible set of arguments, returns an error message "#MESG?" similar to the built-in messages "#NAME?" and "#VALUE?". It is important that the error be propagated to dependent cells, and that the returned value cause an error condition that can be properly identified by SpecialCells(xlCellTypeFormulas,xlErrors). Can anyone tell me how to do this? Many thanks, Phil |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
#NAME? Error With User Defined Functions | Excel Worksheet Functions | |||
vlookup, add parameter, on error return user defined value | Excel Worksheet Functions | |||
#Name? Error in User Defined VB Function | Excel Worksheet Functions | |||
User-defined data type; Error: Only User-defined types... | Excel Programming | |||
error with user defined | Excel Programming |