Vikas Bhatia
2003-07-16 11:00:54 UTC
I have a sub procedure in VBA which requires arguments and I want to
pass these arguments through key-in 'VBA RUN'.
Example:
Sub Test(X As Integer)
---
---
End Sub
Is there any trick where I could pass the value of X to Test() from
Key-In,
Say, 'VBA RUN Test 123' ?
There was another way in Microstation Basic Macro using Command$
function (command line argument), but VBA doesn't seems supporting
Command$ Function.
Thanks,
Vikas
pass these arguments through key-in 'VBA RUN'.
Example:
Sub Test(X As Integer)
---
---
End Sub
Is there any trick where I could pass the value of X to Test() from
Key-In,
Say, 'VBA RUN Test 123' ?
There was another way in Microstation Basic Macro using Command$
function (command line argument), but VBA doesn't seems supporting
Command$ Function.
Thanks,
Vikas