CallSub
allows you to dynamically call a sub, which means that the called
sub is only known at runtime.
Syntax:
CallSub (Sub Name [, Arguments List])
Sub
Name - A string that holds the target sub name.
Arguments
List - List of arguments passed to the sub (separated by
commas).
Example:
For i
= 1 to 3
If CallSub("SomeSub" & i, arg1, arg2, arg3) > 10
Then
...
End If
Next