You'd need to get a Word.Application object for the current message. There's no such global setting. My blog post at
http://turtleflock-ol2007.spaces.liv...E3D8!579.entry shows how to get a Word.Document object from a message. It would be just one more step to get the Document.Application object from that Document. Whether Herb's technique would work, though, is something you'll have to test to find out.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
"Nigel Freeney" wrote in message ...
I don't like the way that when I type in a date like 25th July 2007 in Word
and Outlook 2007 it insists on offering me 2007-07-25 autocomplete if I
press the enter key. I usually create a juornal entry and then hit enter to
move down to a new line so this is a right pain. Herb Tyson came up with
the following Macro for Word 2007 on his Word 2007 Bible Blog
*To simply turn it off*
Sub TurnOffAutoComplete()
Application.DisplayAutoCompleteTips = False
End Sub
*To toggle it on or off*
Sub TurnOffAutoComplete()
Application.DisplayAutoCompleteTips = Not
(Application.DisplayAutoCompleteTips)
End Sub
Unfortunately of course this doesn't work in Outlook
Run-time Error 438
because the object doesn't support this property or method
Can anyone fix this for Outlook or now of another way to sort this out?