Custom document properties are changed automatically while saving as dot file

Hi,

I have a docx file with custom document properties. If I save the file as a dot file the document properties are changed automatically.

E.g.

Property XY with type "Text" and value "01.12.2014" becomes

Property XY with type "Text" and value "2014-12-01T00:00:00Z"

I hope the type is the right one, I don't have Word in english.

What goes wrong? What can I do to prevent this?

Thanks in advance,

M.H.

July 8th, 2015 12:25pm

Which version of Word (both number and language)? And version of Windows?

Are you really saving as *.dot, or really as *.dotx or *.dotm?

Since you've posted this in the Developer forum, could you please show us the code involved in doing the saving?

Have you tested whether choosing "Template" in File/New as the file type gives you a more stable result?

Free Windows Admin Tool Kit Click here and download it now
July 8th, 2015 1:19pm

Hi,

I use Word 2010 in german with Windows 7.

I only posted it in the developer forum because I didn't find any forum for general word problems. I have written code in VBA but the problem already exists if I just use the "Save as" funtion in Word. If I don't have a solution I don't need to write any code.

Yes, I really mean ".dot". We have customers with very old Office versions and we have to support it.

Thanks a lot in advance.

July 8th, 2015 1:53pm

Hi M.

Mmm. I don't see this in the English versions...

What are your date settings in the Control Panel/Region and Language (Systemsteuerung, wo man die Sprache, Datums- und Nummerformate sowie Tastatur festlegt)? Mine are Swiss German, not the XML international, which is what your date is being changed to.

<<We have customers with very old Office versions and we have to support it.>>

If "old" means 2000 - 2003 then those systems can install the "Compatibility Pack" that will allow them to open documents in the new file format. Probably wouldn't support using a dotx template, though...

What happens if you open the *.dot and change the date back? Does Word still change it?

Are you allowed to include VBA macros in the template?

Free Windows Admin Tool Kit Click here and download it now
July 8th, 2015 2:32pm

<<I only posted it in the developer forum because I didn't find any forum for general word problems>>

There's an IT Pro forum on Technet, which might be helpful. I can move the discussion, if you wish.

July 8th, 2015 2:32pm

Hi M.Hanisch,

This forum is for Developer discussions and questions involving Microsoft Word, your issue seems to be more related with Word product, I will move this thread to the more related forum.

Reference: http://social.technet.microsoft.com/Forums/en-US/home?forum=word

Thanks for your understanding.

Best Regards,

Edward

Free Windows Admin Tool Kit Click here and download it now
July 9th, 2015 7:07am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics