GulfImages
Technical User
Hi All,
I'm trying to trim down my code and am creating master funtions to aleviate redunancy.
I have a Sub that I want to have a variable that names another sub I want to run:
I don't know if it should be:
Call NameofOtherSub(etc)
or
NameofOtherSub(etc)
in NewRecord(NameofOtherSub, etc, etc) does NameofOtherSub need to be declared as something or just a text string.
I hope this is understandable.
Thanks in advance,
Bobby
I'm trying to trim down my code and am creating master funtions to aleviate redunancy.
I have a Sub that I want to have a variable that names another sub I want to run:
Code:
Sub NewRecord(NameofOtherSub, etc, etc)
If something happens then
NameofOtherSub
End If
I don't know if it should be:
Call NameofOtherSub(etc)
or
NameofOtherSub(etc)
in NewRecord(NameofOtherSub, etc, etc) does NameofOtherSub need to be declared as something or just a text string.
I hope this is understandable.
Thanks in advance,
Bobby