Outlook Forms and the Shell Cmd

GregSmith

Registered User.
Local time
Today, 17:46
Joined
Feb 22, 2002
Messages
126
Can someone tell me how to shell out the a .BAT file under Outlook VB?? I can get this to work correctly under MS Access VB but cannot seem to figure it out under Outlook.

Thanks, Greg
 
sub test_click ()

Dim WSHShell

Set WSHShell = CreateObject("WScript.Shell")

WSHShell.Run("C:\Hallo.bat")

end sub
 

Users who are viewing this thread

Back
Top Bottom