Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DIsplaying Help with Functions 1

Status
Not open for further replies.

MyFlight

Technical User
Feb 4, 2002
193
Is there a way to Display Help when uing the Insert Function (Shift + F3) for Functions I have Created?
Example

Function WhatFontColorIndex(rng As Range)
' Select the Cell with the FONT Color you want Translated
WhatFontColorIndex = rng.Font.ColorIndex
End Function

How would I display ot the End-User the information after the Single quote.

Your assistance will be greatly appreciated.
 
You may try this:
Application.MacroOptions Macro:="WhatFontColorIndex", Description:="Select the Cell with the FONT Color you want Translated"

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
.. or, without vba, display object browser, select your vba project, select your function under 'members' section and right-click the function name. After 'Properties...' you can add or change the description.
BTW, in a similar way description can be added to procedures, modules or other vba components. In case of vba project the description available from vbe menu).

combo
 
I found the Function: under Object Browser and Module 2 and WhatInteriorColorIndex.
After I add the Text and save the Workbook (Personal.xls) The text never appears.
Am I forgetting something do I need to change the Help Context ID or something?
Your assistance will be greatly appreciated.
 
If you add the description to your function, it should appear at the bottom of the object browser, together with other short information.
The description in excel interface in opposite to built-in functions, is displayed in the formula wizard only.

combo
 



I have a desktop and a laptop.

On both I get run time error 1004 on MacroOptions.

Only on the laptop can I manually add help text, because I must not have the proper permissions on the desktop.

Skip,
[glasses]Don't let the Diatribe...
talk you to death![tongue]

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top