Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default 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




  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default 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






  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default 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








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Work menu (Word) equivalent in Excel? Sharon R. Excel Discussion (Misc queries) 6 August 6th 07 06:44 AM
How to start every word in a cell uppercase? terrya64 Excel Discussion (Misc queries) 1 July 25th 05 02:03 AM
I deleted MS Outlook from my start menu, now EXCEL won't work? cobbga Excel Discussion (Misc queries) 0 June 23rd 05 03:00 AM
Can you convert a number to word equivalent ? Nagesh K R Excel Worksheet Functions 2 May 4th 05 12:48 PM
Can't start outlook from Excel Susan Lammi[_2_] Excel Programming 4 February 9th 04 11:28 PM


All times are GMT +1. The time now is 10:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"