LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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

 
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 09:00 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"