Is there ways to create optional arguments to functions in vb script allowing you to write functions something like...
myFunc(\"happy\")
myFunc(\"happy\", 1,
You can always make it a class
and use Public Property Let
to populate your Sub
/Function
before calling it:
Set oSubName = New cSubName
'fill your parameters, you can always add more later
oClass.OptionalParameter1 = true
oClass.OptionalParameter2 = false
'execute sub
oSubName.Execute
Set oSubName = Nothing
This would require some knowledge on how to make classes, but is probably the next best solution to using arrays.
Good luck.