In VB Editor press F2 to activate Object Browser, select your workbook from the Project drop down list, In the classes window select the module that contains the funtion. In the members window select the function, right click the function and select properties from the shortcut menu, Under description you can add comments to your funtion,
you will need lines of code in your function to refer to your help menu if you want that too.
Such as
HelpContextID:=1, _
HelpFile:=ThisWorkbook.Path & "\Customfunction.hlp"
Ken
Thanks! one more question...
Is there any way I can add comments to each individual argument.
Thanks!
giacomo
Re: Thanks! one more question...
Add this macro in the workbook you have the function in
Sub Descriptions()
Application.MacroOptions Macro:="Yourfunctionnamehere", _
Description:="The decription you want to add"
End Sub
Ken