View Single Post
  #10   Report Post  
Posted to microsoft.public.excel.programming
Leith Ross[_169_] Leith Ross[_169_] is offline
external usenet poster
 
Posts: 1
Default how to call subprocedure from within procedure?


Hello Dreamz,

Sorry about that. I should have included an example of how to call the
procedure. It can be 2 different ways.

CALLING EXAMPLES:

This assumes you have assigned values to variables prior to the call.
This method requires the variables be in order.
chHum = -<value-
chTr = -<value-
chDep = -<value-
Call Calculate (chDep, chTr, chHum)

This method uses the variables names. This allows you to enter them in
random order.
Calculate chTr:= -<value-, chDep:= -<value-, chHum:= -<value-

All the values must be entered for either example. If you leave one
out, you get the error message "Argument not optional".

Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=480621