VBA equivalent vbscript start outlook & word

  • Thread starter Thread starter Max Bialystock
  • Start date Start date
M

Max Bialystock

Is there a VBA equivalent of this vbscript?

Set oShell = WScript.CreateObject("WScript.Shell")
oShell.Run "outlook"
oShell.Run "winWord"
 
Sub test()
Dim oShell As Object

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