Date code

R

Ricki Miles

I have had this problem in Word 2003 as well as Word 2007. When I type in a
date such as January 13, 2010, just before I finish typing it, the screen
tip shows 2010-01-13 (Press Enter to insert). Many times I need to press
Enter as the date needs to be on a line by itself and I get the extra date
text that I do not want. I was told that in version 2003, if AutoText
completions were turned on, I would get this date completion, even if I
don't want it. Is there any way in both versions to disable the date
completion without changing AutoText or Building Blocks? Thanks,

Ricki
 
S

Stefan Blom

Turning off "Show AutoComplete suggestions" in Tools | AutoCorrect Options,
AutoText tab, will affect the AutoComplete suggestions for dates *and*
AutoText in Word 2003. If you want to keep AutoComplete enabled, just Undo
(Ctrl+Z) the date insertion that occurs when you press Enter.

In Word 2007, note that AutoComplete isn't supported at all for
AutoText/Building Blocks. To turn off AutoComplete for dates, do the
following: Press Alt+F11, which displays the Visual Basic Editor. In the
Immediate window (Ctrl+G), type

Application.DisplayAutoCompleteTips = False

and press Enter.
 
R

Ricki Miles

Thanks for the reply, Stefan. I was hoping there was a way, other than
undoing, to eliminate just this one AutoText as I would like to keep the
others. The problem with having to undo is that most of the time, I would
not even notice that the AutoText "extra" date has been added.

When you mention the VBA code to prevent display of AutoComplete tips, do
you mean for Word 2003, as Word 2007 does not display them anyways?

Thanks for your help,

Ricki
 
S

Stefan Blom

In Word 2007, as I wrote, AutoComplete is supported only for dates, and it
can be turned on and switched off assuming that you use the macro (that is,
you can't do that via the user interface).

In Word 2003, the macro will also work, but it does exactly what the check
box does in the AutoCorrect dialog box.
 

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