vba - Word 2010 docm file corrupted after saving -


i'm using office 2010. created dotm short vba program create standard filename based on user , current date; updates custom doc variable, , saves file .docm specified directory using name created. document left open, can edit it, save it, etc. however, after closing document , trying re-open it, message:

the file <blah>.docm cannot opened because there problems contents. 

opening file in wordpad shows bunch of gibberish untrained eye, don't see clear text. docm file useless.

i did find save docm file docx , works perfectly, can reopen document, eventually, 1 of custom fields created in vba lost message field has been deleted.

searching solution suggested there viral/malware infestation, virus software (symantec) says document not infected.

putting on conspiracy theory hat, thought might have corporate policy making docm files illegal, choosing corrupt them rather disable option save docm. i've dismissed not plausible valuable work lost, , quite frankly, company not work way.

i've disabled add-ins in response issue no discernible effect on problem.

it appear saving file macros not work "as expected", "it not work". particular application not require macros after initial document creation, however, need in future.

i appreciate , assistance , suggestions.


Comments