Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default vba function description visible in Formula palette ?

I can't create a description for the vba function and its arguments, which
should be seen in the formula palette while browsing the functions of the
..xla.
Does anyone knows how to add these kind of comments ?
Thanks from advance


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default vba function description visible in Formula palette ?

Adding arugment descriptions isn't really supported. For the functions
themselves, you can use the object brower in the VBE to look at the xla,
then select your function and right click on it and select properties.
Enter your description there.


You can look at Laurent Longre's pages on this topic:


http://longre.free.fr/english/func_cats.htm

http://longre.free.fr/english/index.html#FunCustomize

the second article is really just a download and offers a DLL you can use to
add arguments descriptions I believe.
--
Regards,
Tom Ogilvy


"Eric H" wrote in message
...
I can't create a description for the vba function and its arguments, which
should be seen in the formula palette while browsing the functions of the
.xla.
Does anyone knows how to add these kind of comments ?
Thanks from advance




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default vba function description visible in Formula palette ?

Eric H wrote:
*I can't create a description for the vba function and its arguments,
which
should be seen in the formula palette while browsing the functions of
the
..xla.
Does anyone knows how to add these kind of comments ?
Thanks from advance *


Hello Eric,

Search "MacroOptions" by VBA help please.
You can add comments as follows.


Code:
--------------------

Function Example() As String
Example = "Hi There!"
End Function

Sub Add()
Application.MacroOptions Macro:="Example", _
Description:="Write comment here."
End Sub


--------------------



---
Message posted from http://www.ExcelForum.com/

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel function same description but different result heng Excel Worksheet Functions 1 October 12th 05 07:51 AM
Function parameter description Christine[_5_] Excel Programming 1 November 27th 03 06:08 PM
access function description from c angelique Excel Programming 0 October 29th 03 03:56 PM
access function description from c++ Angelique[_2_] Excel Programming 0 October 29th 03 03:55 PM
access the function description Angelique[_2_] Excel Programming 0 October 29th 03 03:51 PM


All times are GMT +1. The time now is 06:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"