Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
User Defined Function Help
I built a user defined Excel 2007 function with 2 mandatory input variables
and 1 optional variable. Is there any way to display which variable I am adding like the built-in functions do? Mike D. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
User Defined Function Help
On Mon, 23 May 2011 20:23:38 -0500, Michael Dobony wrote:
I built a user defined Excel 2007 function with 2 mandatory input variables and 1 optional variable. Is there any way to display which variable I am adding like the built-in functions do? Maybe it's just me, but what do you mean by "display which variable I am adding"? Maybe an example of what you're trying to do would help. -- Stan Brown, Oak Road Systems, Tompkins County, New York, USA http://OakRoadSystems.com Shikata ga nai... |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
User Defined Function Help
On Mon, 23 May 2011 20:23:38 -0500, Michael Dobony wrote:
I built a user defined Excel 2007 function with 2 mandatory input variables and 1 optional variable. Is there any way to display which variable I am adding like the built-in functions do? Mike D. If you enter the formula using the function wizard, and have named your input variables with meaningful names, you can get some prompting that way. You could use a method shown he http://www.jkp-ads.com/articles/RegisterUDF00.asp That article also describes that Excel 2010 now allows you to set the Argument Description easily with VBA code. |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
User Defined Function Help
On Mon, 23 May 2011 22:03:26 -0400, Stan Brown wrote:
On Mon, 23 May 2011 20:23:38 -0500, Michael Dobony wrote: I built a user defined Excel 2007 function with 2 mandatory input variables and 1 optional variable. Is there any way to display which variable I am adding like the built-in functions do? Maybe it's just me, but what do you mean by "display which variable I am adding"? Maybe an example of what you're trying to do would help. When you type in a function name and put in the first parentheses there is a window that opens up below the cell to tell you the inputs that the function requires. Type "=fv(" in a blank cell and the help window below shows "FV(rate, nper, pmt, [pv], [type])". |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
User Defined Function Help
On Mon, 23 May 2011 23:33:06 -0500, Michael Dobony wrote:
On Mon, 23 May 2011 22:03:26 -0400, Stan Brown wrote: On Mon, 23 May 2011 20:23:38 -0500, Michael Dobony wrote: I built a user defined Excel 2007 function with 2 mandatory input variables and 1 optional variable. Is there any way to display which variable I am adding like the built-in functions do? Maybe it's just me, but what do you mean by "display which variable I am adding"? Maybe an example of what you're trying to do would help. When you type in a function name and put in the first parentheses there is a window that opens up below the cell to tell you the inputs that the function requires. Type "=fv(" in a blank cell and the help window below shows "FV(rate, nper, pmt, [pv], [type])". Than ks. You would need to write your function within an .xla or .xlam add-in, not a regular workbook. You would need to publish your help text within the add-in. I'm sorry, I know it can be done, but I don't know how. -- Stan Brown, Oak Road Systems, Tompkins County, New York, USA http://OakRoadSystems.com Shikata ga nai... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
user defined function | Excel Worksheet Functions | |||
User Defined FUNCTION | Excel Discussion (Misc queries) | |||
User Defined function - Help | Excel Worksheet Functions | |||
User Defined Function | Excel Worksheet Functions | |||
User defined function | New Users to Excel |