How Can I turn off Date Autocomplete in Outlook 2007

N

Nigel Freeney

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?

Thanks,

Nigel
 
D

Diane Poremsky

I just ignore it and keep typing and it goes away - it will not apply the
style it offers if you either keep typing, or if you are done typing, press
space twice.
 
N

Nigel Freeney

Hi Diane,

As I said in the original post this is irritating because it occurs in a
journal entry which is in the format of date carraige return next line. I
get the carraige return by pressing enter which then leads to the autodate
replacing the date format I want.

Thanks,

Nigel
 
N

Nigel Freeney

Hi Sue,

I don't have enough experience with VBA to work it out for myself - but
thanks for taking a look.

In my frustration I have discovered a more lateral solution to the problem.

If I press SHIFT+ENTER then the autocomplete is ignored and I can carry on
with the date as I have written it without breaking the work flow. This is a
useable solution.

Of course if anyone can come up with the macro fix or a registry hack I
would be grateful.

Thanks,

Nigel

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.live.com/blog/cns!C1013F1F9A99E3D8!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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top