BillBrosius
Programmer
Can you call a Sub Procedure from within a User Defined Function?
Function AddThis(var1,var2)
Call dothemath
End Function
Sub Procedure dothemath(f_var1,f_var2)
final_result = f_var1 + f_var2
Msgbox(final_reslut)
End Sub
Obviously this is a very simple example, but can it be done?
Thanks.
Bill
Function AddThis(var1,var2)
Call dothemath
End Function
Sub Procedure dothemath(f_var1,f_var2)
final_result = f_var1 + f_var2
Msgbox(final_reslut)
End Sub
Obviously this is a very simple example, but can it be done?
Thanks.
Bill