Activating a BAT file from a HTA
I'm just trying to lauch the bat file when user click the button they see in
Internet Explorer.
My "Test.bat" file contains only te below 2 lines:
__________________________________________
prompt off
"C:\Test\LaunchSub.vbs" "Apple" "Banana"
__________________________________________
Fyi, this question is actually related to my earlier post entitled "Passing
argument from cmd.exe to Excel VBA".
I'm trying to achieve this:
In IE, when user press the button, it will trigger 'Test.bat' to launch.
This will inturn trigger 2 arguments be passed from "C:\Test\LaunchSub.vbs"
"Apple" "Banana" to Excel VBA.
Thanks a million!
--
Edmund
(Using Excel XP)
|