Close Down Outlook using VBA in Word

  reddwarfcrew 19:34 03 Jul 06
Locked

Is it possible to use VB code in Word in order to close down Outlook XP if it is open?

Thanks

  VoG II 20:08 03 Jul 06

This works in Excel

Sub Shut_It()
Dim objOutlk As Outlook.Application
Set objOutlk = CreateObject("Outlook.Application")
objOutlk.Quit
Set objOutlk = Nothing
End Sub

  VoG II 22:02 07 Jul 06

Did this work?

  reddwarfcrew 23:14 07 Jul 06

Didn't get to try it out until yesterday.

This thread is now locked and can not be replied to.

Nintendo Switch review: Hands-on with the intuitive modular console and its disappointing games…

1995-2015: How technology has changed the world in 20 years

This abstract video touches on division in our technologic world

Best alternatives to iTunes for Mac | Best music players for macOS: Free your music from the…