![]() |
VBA equivalent vbscript start outlook & word
Is there a VBA equivalent of this vbscript?
Set oShell = WScript.CreateObject("WScript.Shell") oShell.Run "outlook" oShell.Run "winWord" -- Regards, David Lindstrom |
VBA equivalent vbscript start outlook & word
Sub test()
Dim oShell As Object Set oShell = CreateObject("WScript.Shell") oShell.Run "outlook" oShell.Run "winWord" End Sub -- Rob van Gelder - http://www.vangelder.co.nz/excel "Max Bialystock" wrote in message ... Is there a VBA equivalent of this vbscript? Set oShell = WScript.CreateObject("WScript.Shell") oShell.Run "outlook" oShell.Run "winWord" -- Regards, David Lindstrom |
VBA equivalent vbscript start outlook & word
Fantastic!
Thanks for that - I really appreciate your help. -- Regards, David Lindstrom "Rob van Gelder" wrote in message ... Sub test() Dim oShell As Object Set oShell = CreateObject("WScript.Shell") oShell.Run "outlook" oShell.Run "winWord" End Sub -- Rob van Gelder - http://www.vangelder.co.nz/excel "Max Bialystock" wrote in message ... Is there a VBA equivalent of this vbscript? Set oShell = WScript.CreateObject("WScript.Shell") oShell.Run "outlook" oShell.Run "winWord" -- Regards, David Lindstrom |
All times are GMT +1. The time now is 06:51 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com