Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 68
Default Public Function Remarks

When using built-in functions, Excel provides remarks. For instance, if you
type =sumif( and then click the fx button (insert function), you will see
suggestions to the right of each input box. Notice range says "reference",
criteria says "any", etc. and just below the inputs is an instruction that
says "adds the cells specified by a given condition or criteria". And below
this, the instruction changes depending on which box you hilite.

How can I fill these fields with instructions? Below is a simple example
another person wrote. For instance, I'd let the user know that ACFM s Actual
Cubic Feet per Minute, etc. And I might have an overall instruction, "This
function calculates standard cubic feet per minute".

Public Function SCFM(ACFM As Double, TempF As Double, PSIA As Double)
'ACFM = Actual Cubic Feet per Minute
'TempF = Temperature (°F)
'PSIA = Pressure (PSIA)

'Constant Definition
T0 = 459.7
TS = 70 + 459.7

'Other
TA = TempF + T0

PA = PSIA
PS = 14.7

SCFM = ACFM * (TS / TA) / (PS / PA)

End Function

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Public Function Remarks

Mark

If all you need is a line or two to describe the UDF try this.

ToolsMacroMacros

Type in the name of the UDF and "Options"

You can type in a couple of descriptive lines and OK then Cancel

...........................................

To fully customize your User Defined Functions....

See Laurent Longre's website for FUNCUSTOMIZE add-in.

ZIP file also includes a demo file and a how-to-use file.

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

Ballon Tips are not available with Laurent's method.


Gord Dibben MS Excel MVP

On Tue, 16 Sep 2008 08:26:00 -0700, TKS_Mark
wrote:

When using built-in functions, Excel provides remarks. For instance, if you
type =sumif( and then click the fx button (insert function), you will see
suggestions to the right of each input box. Notice range says "reference",
criteria says "any", etc. and just below the inputs is an instruction that
says "adds the cells specified by a given condition or criteria". And below
this, the instruction changes depending on which box you hilite.

How can I fill these fields with instructions? Below is a simple example
another person wrote. For instance, I'd let the user know that ACFM s Actual
Cubic Feet per Minute, etc. And I might have an overall instruction, "This
function calculates standard cubic feet per minute".

Public Function SCFM(ACFM As Double, TempF As Double, PSIA As Double)
'ACFM = Actual Cubic Feet per Minute
'TempF = Temperature (°F)
'PSIA = Pressure (PSIA)

'Constant Definition
T0 = 459.7
TS = 70 + 459.7

'Other
TA = TempF + T0

PA = PSIA
PS = 14.7

SCFM = ACFM * (TS / TA) / (PS / PA)

End Function


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 68
Default Public Function Remarks

Your suggestion helped, but I wish there was an easy way to put separate
helps per varialb. The link below would only work one computer unless you
copy the dll around. With the custom functions, I only need to copy the
macros around.

"Gord Dibben" wrote:

Mark

If all you need is a line or two to describe the UDF try this.

ToolsMacroMacros

Type in the name of the UDF and "Options"

You can type in a couple of descriptive lines and OK then Cancel

...........................................

To fully customize your User Defined Functions....

See Laurent Longre's website for FUNCUSTOMIZE add-in.

ZIP file also includes a demo file and a how-to-use file.

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

Ballon Tips are not available with Laurent's method.


Gord Dibben MS Excel MVP

On Tue, 16 Sep 2008 08:26:00 -0700, TKS_Mark
wrote:

When using built-in functions, Excel provides remarks. For instance, if you
type =sumif( and then click the fx button (insert function), you will see
suggestions to the right of each input box. Notice range says "reference",
criteria says "any", etc. and just below the inputs is an instruction that
says "adds the cells specified by a given condition or criteria". And below
this, the instruction changes depending on which box you hilite.

How can I fill these fields with instructions? Below is a simple example
another person wrote. For instance, I'd let the user know that ACFM s Actual
Cubic Feet per Minute, etc. And I might have an overall instruction, "This
function calculates standard cubic feet per minute".

Public Function SCFM(ACFM As Double, TempF As Double, PSIA As Double)
'ACFM = Actual Cubic Feet per Minute
'TempF = Temperature (°F)
'PSIA = Pressure (PSIA)

'Constant Definition
T0 = 459.7
TS = 70 + 459.7

'Other
TA = TempF + T0

PA = PSIA
PS = 14.7

SCFM = ACFM * (TS / TA) / (PS / PA)

End Function



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
difference between a private sub and a public function? Dave F Excel Discussion (Misc queries) 4 March 16th 07 07:38 PM
Public Function Question Carl Excel Worksheet Functions 7 August 31st 06 08:15 PM
Using A Public Function / carl Excel Worksheet Functions 1 April 6th 06 09:13 PM
Public Function Problems Andy123 Excel Discussion (Misc queries) 3 December 27th 05 10:11 AM
Public Function Monty Excel Discussion (Misc queries) 9 December 24th 04 06:35 PM


All times are GMT +1. The time now is 12:42 AM.

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

About Us

"It's about Microsoft Excel"