ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Variables description in a function (https://www.excelbanter.com/excel-programming/360646-variables-description-function.html)

Lasse

Variables description in a function
 
Hi,
I have made a function with 3 input variables.
Is it possible to write som informaton about the variables, so they no wath
they are used for.

//Lasse



Ivan Raiminius

Variables description in a function
 
Hi Lasse,

normally, it is not possible.

But there is a way around, see:

http://www.jkp-ads.com/Articles/RegisterUDF00.htm

for details.

Regards,
Ivan


PBezucha

Variables description in a function
 
Hi Lasse,

Lord let JKP to finish up his tremendous, praiseworthy endeavor, or MS to
resolve such a topical (as it seems according to the frequency of asked
questions) problem. If your need is urgent and your desire for perfection not
too high, use the following funny scheme. The arguments enabling question
mark help should be Variant or, with String input, String. To notify the user
he can use the question mark convention at all, you may eventually exploit
MacroOptions method.

Function QuestionmarkHelp(C As Variant) As Variant
If C = "?" Then MsgBox "C...tentative variable(Variant)": Exit Function
'your code, i.e.:
QuestionmarkHelp = C
End Function

Sincerely
Peter

--
Petr Bezucha


"Ivan Raiminius" wrote:

Hi Lasse,

normally, it is not possible.

But there is a way around, see:

http://www.jkp-ads.com/Articles/RegisterUDF00.htm

for details.

Regards,
Ivan




All times are GMT +1. The time now is 01:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com