![]() ![]() 'first save as new format then update compatibility, then save againĭoc.SaveAs2 FileName:=newname, FileFormat:=wdFormatDocumentDefaultĪctiveDocument.SetCompatibilityMode (wdCurrent)įunction getfiles(Optional FileName As String = "Dir. It seems this is caused by older versions of MS Word that were either previously installed or that still exist in ones system. This is readily viewable as Word appends Compatibility Mode next to the document name in the title bar. 'array of docs, items in that array, document object from those items A common Microsoft Word issue is when every new document is created in compatibility mode. This method for removing password from Word document is more complicated and each step needs to be done perfectly. ![]() At last, change the Zip file back to Word doc. Sub SaveAsDocX(FileListFullPath As String) Open the 'word' folder, right click on the settings.xml file and select 'Delete'. ![]() Since you're going to do it on 1000 files, I would set a break point at doc.close to test it out on the first few if I were you. That will give a textfile listing all files in the directory. Open up a cmd window in your folder and type dir /s /b > filename.txt to get a plaintext list of all the files in the path. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |