Is there a function that you can use for calling een function with data.
A example
message "test"
sub message(variab as string)
call variab
end sub
sub test()
msgbox "Hello"
end sub
'Do you use the function Call or is there another way
Printable View
Is there a function that you can use for calling een function with data.
A example
message "test"
sub message(variab as string)
call variab
end sub
sub test()
msgbox "Hello"
end sub
'Do you use the function Call or is there another way
unfortunatly, this cannot be done. The only way to have a program decide which sub to call by string is to use structured programming (i.e. if...then or select case)