ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   to call subfunction from a function (https://www.excelbanter.com/excel-discussion-misc-queries/206616-call-subfunction-function.html)

pol

to call subfunction from a function
 
Please let me know how I can call subfunction from a function

With thanks
Pol

Gary''s Student

to call subfunction from a function
 
=AVERAGE(SUM(A1:A20),SUM(D3:D4))
--
Gary''s Student - gsnu200807

pol

to call subfunction from a function
 
Thanks for the reply
I have a two function

1. itemprice()
2. sizeonly()

I want to call sizeonly() from itemprice

sub itemprice
Here I have to call sizeonly()
end sub

with thanks
Pol



"Gary''s Student" wrote:

=AVERAGE(SUM(A1:A20),SUM(D3:D4))
--
Gary''s Student - gsnu200807


Roger Govier[_3_]

to call subfunction from a function
 
Hi

Sub Itemprice()
some code
call sizeonly
continue with more code
End sub

When sizeonly finishes, it will return to the next line in the calling sub.

--
Regards
Roger Govier

"pol" wrote in message
...
Thanks for the reply
I have a two function

1. itemprice()
2. sizeonly()

I want to call sizeonly() from itemprice

sub itemprice
Here I have to call sizeonly()
end sub

with thanks
Pol



"Gary''s Student" wrote:

=AVERAGE(SUM(A1:A20),SUM(D3:D4))
--
Gary''s Student - gsnu200807



pol

to call subfunction from a function
 
thanks


"Roger Govier" wrote:

Hi

Sub Itemprice()
some code
call sizeonly
continue with more code
End sub

When sizeonly finishes, it will return to the next line in the calling sub.

--
Regards
Roger Govier

"pol" wrote in message
...
Thanks for the reply
I have a two function

1. itemprice()
2. sizeonly()

I want to call sizeonly() from itemprice

sub itemprice
Here I have to call sizeonly()
end sub

with thanks
Pol



"Gary''s Student" wrote:

=AVERAGE(SUM(A1:A20),SUM(D3:D4))
--
Gary''s Student - gsnu200807





All times are GMT +1. The time now is 01:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com