Sep 9, 2004 #1 LaCour MIS Jul 15, 2004 53 US Is it possible to inisiate a bat file or wsh script in VBA? Thanks Blair
Sep 9, 2004 #2 RickSpr MIS Jan 4, 2001 2,885 US Yes. See the Shell function in the Help file. dummy = Shell("C:\Batch\filename.bat param1 param2") dummy = Shell("wscript C:\Scripts\myscript.vbs //Nologo") Rick Sprague Want the best answers? See faq181-2886 To write a program from scratch, first create the universe. - Paraphrased from Albert Einstein Upvote 0 Downvote
Yes. See the Shell function in the Help file. dummy = Shell("C:\Batch\filename.bat param1 param2") dummy = Shell("wscript C:\Scripts\myscript.vbs //Nologo") Rick Sprague Want the best answers? See faq181-2886 To write a program from scratch, first create the universe. - Paraphrased from Albert Einstein