WD: "Value Entered Does Not Match with the Specified Type"

ID: Q135285


The information in this article applies to:
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows


SYMPTOMS

You get the following error message when you define a custom property of type Date when the value includes hyphens:

The value entered does not match with the specified type.
The value will be stored as text.


CAUSE

The Regional Settings for Short Date Style and Date Separator are defined using a slash (/) instead of a hyphen. (To locate this option, click the Windows Start button, point to Settings, click Control Panel, double-click Regional Settings, and then click the Date tab.)


STATUS

Microsoft has confirmed this to be a problem in Word versions 7.0 and 7.0a for Windows 95 and Word 97 for Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


WORKAROUNDS

Method 1:

Define the value as it is defined in the Regional Settings.
Method 2:
Modify the Regional Settings so that the Short Date Style and the Date Separator are defined using a hyphen separator instead of a slash separator.

Additional query words: 7.0 word7 winword word95 custom properties property word97 regional settings date format hyphen slash type value name error message

Keywords : kbtemplate
Version : WINDOWS:7.0,7.0a; :
Platform : WINDOWS
Issue type :


Last Reviewed: January 7, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.