PC Review


Reply
Thread Tools Rate Thread

Commenting custom formula fields/formula on formula editor

 
 
Muxer
Guest
Posts: n/a
 
      21st Jul 2003
When you build custom formulas w/ VBA, how do you comment the input fields?


Example: If you click on the edit formula button "=", then click on the
functions drop down box and let's say you select "sum" if you click on
the "Number1" field at the bottom of the formula editor shows a brief
explanation of the data to be typed and a description of the formula
itself. How does one do the same thing with code.

Regards!

 
Reply With Quote
 
 
 
 
JS
Guest
Posts: n/a
 
      21st Jul 2003
the following code will give an overall description for your function,

Sub NameFuntion()
Application.MacroOptions macro:="Name of your Function",
Description:="Your Description"
End Sub

Not sure how to enter a description for each variable though



 
Reply With Quote
 
Muxer
Guest
Posts: n/a
 
      24th Jul 2003
Gord Dibben wrote:
> You could do this manually if you just want a description of the Function and
> an example.
>
> Tools>Macro>Macros. Type in the name of your Function then Optionst. Type in
> a description as below.......
>
> This Function Places the Workbook Created Date in a cell. usage is:
> =CreaDate()
>
> Note: You cannot enter arguments descriptions in this manner.
>
> You could do it using Laurent Longre's FUNCUSTOMIZE.DLL downlaodable in a
> *.ZIP file from his site. If you go this route, check out the Demo that comes
> with it.
>
> http://longre.free.fr/english/index.html#FunCustomize
>
> Gord Dibben Excel MVP - XL97 SR2 & XL2002
>
>
> On Mon, 21 Jul 2003 22:08:48 GMT, Muxer <(E-Mail Removed)> wrote:
>
>
>>When you build custom formulas w/ VBA, how do you comment the input fields?
>>
>>
>>Example: If you click on the edit formula button "=", then click on the
>>functions drop down box and let's say you select "sum" if you click on
>>the "Number1" field at the bottom of the formula editor shows a brief
>>explanation of the data to be typed and a description of the formula
>>itself. How does one do the same thing with code.
>>
>>Regards!

>
>

Thanks guys!

Although this would do for now. I would still like to know how to give a
descrbtions of the variables. I will post ansewer if I find out.

Thanks again!
Muxer

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Workaround for no feature to sort custom formula fields? CB Microsoft Outlook Discussion 2 15th Jul 2009 12:44 AM
Old formula editor Paul Thomas Microsoft Word Document Management 1 15th Dec 2008 06:25 AM
Allow sorting on custom formula fields =?Utf-8?B?R3JpZmZpbiBEb29y?= Microsoft Outlook Discussion 0 4th Oct 2006 12:39 AM
Sorting or Grouping custom formula fields =?Utf-8?B?UGF1bE0=?= Microsoft Outlook Form Programming 4 7th Aug 2006 09:16 AM
Custom Formula fields Outlook 2003 Lee Halford Microsoft Outlook Form Programming 1 4th Feb 2006 06:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:38 PM.