Microsoft KB Archive/135285

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

Article ID: 135285

Article Last Modified on 1/19/2007

-

APPLIES TO


 * Microsoft Word 95 Standard Edition
 * Microsoft Word 95a
 * Microsoft Word 97 Standard Edition

-



This article was previously published under Q135285



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.



WORKAROUND
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 KB135285

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.