VBA equivalent vbscript start outlook & word

M

Max Bialystock

Is there a VBA equivalent of this vbscript?

Set oShell = WScript.CreateObject("WScript.Shell")
oShell.Run "outlook"
oShell.Run "winWord"
 
R

Rob van Gelder

Sub test()
Dim oShell As Object

Set oShell = CreateObject("WScript.Shell")
oShell.Run "outlook"
oShell.Run "winWord"
End Sub
 
Top