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:23pm

Hi,

thanks for your reply.

In my first post I say that the property has the type "Text", so it can't have anything to do with the date settings. It is just a string, not a date. I think it is very strange that a text gets a timestamp automatically. My language is German (Germany) and my date settings don't contain a time.

Meanwhile I tried to save as dotx, but the document is always damaged, if I do this in a VBA macro.

If I change the property text after open the document, Word keeps it.

Now I try another way within the VBA macro. I try to save the custom properties and set them after saving as dot. I hope I will be successfull.

Thanks a lot.

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

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

Other recent topics Other recent topics