![]() Kutools for Word : With more than 100 handy Word add-ins, free to try with no limitation in 60 days.ġ. With the Doc/Docx utility of Kutools for Word, you can easily convert all. docx documents immediately as below screenshot shown.Ī handy utility will be recommended in this section. In the opening Browse window, select the folder contains the. WritePasswordDocument:="", WritePasswordTemplate:="", Format:= _ĪctiveDocument.SaveAs xFolder & Replace(xFileName, "doc", "docx"), wdFormatDocumentDefaultĤ. PasswordDocument:="", PasswordTemplate:="", Revert:=False, _ XFileName = Dir(xFolder & "*.doc", vbNormal)ĭocuments.Open FileName:=xFolder & xFileName, _ĬonfirmConversions:=False, ReadOnly:=False, AddToRecentFiles:=False, _ Set xDlg = Application.FileDialog(msoFileDialogFolderPicker) docx in a certain folder Sub ConvertDocToDocx() Then copy below VBA code into the Module window. Press the Alt + F11 key to open the Microsoft Visual Basic for Applications window.ģ. doc format documents you will convert to. doc format documents in a specified folder to. This section is going to show you the VBA code to convert all. docx format at once? This article will show you two methods to solve this problem.īatch convert. Supposing you have received some 97-2003 format Word documents, how can you batch convert all these. For more information visit to batch convert. Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including Excel data error repair tool and pdf repair software products. Therefore, you should back up often and also keep a Word document problem repair utility in case of occurring damages. Though we introduced 3 ways to convert between Word doc and docx files, these files are highly susceptible to corruptions due to human errors or mishandlings. Therefore, it’s highly recommended to take the 2 macro ways to conduct the task. ![]() However, due to the variety of Windows or Office version, the “Save As” option might not be available on the contextual menu. Finally click “Save” to close all windows.Now there shall be multiple “Save As” windows popping up, so choose doc or docx for file type accordingly.Next right click and choose “Save As” on the menu.Secondly press “Ctrl” and click to select all files.Firstly, arrange all doc or docx files in one folder.Still you must remember to change “ E:\Temp” in the code line “ strFolder = “E:\Temp\”” to your actual file folder path. Lastly, hit “Run” button to start converting.SaveAs FileName:=strFolder & Replace(strFile, "docx", "doc"), FileFormat:=0 Documents.Open(FileName:=strFolder & strFile, AddToRecentFiles:=False, ReadOnly:=True, Visible:=False) StrFile = Dir(strFolder & "*.docx", vbNormal) Then follow the same way in method 1 to insert a new module and open it.Similarly, press “Alt+ F11” to open VBA editor.To start off, place all docx files in one file folder.Method 2: Batch Convert Word Docx Files to Doc Files In code line “ strFolder = “E:\Temp\””, you should replace the “ E:\Temp” with the location of your file folder. Seconds later, you will find all doc files have been converted to docx files. SaveAs FileName:=strFolder & Replace(strFile, "doc", "docx"), FileFormat:=16 Documents.Open(FileName:=strFolder &strFile, AddToRecentFiles:=False, ReadOnly:=True, Visible:=False) StrFile = Dir(strFolder & "*.doc", vbNormal) Then double click the module to open the editing area and paste the following codes:ĭim objWordApplication As New Word.Application.Next choose “Module” to insert a new module in the project.Now click “Normal” project and click “Insert” after it.Then open Word and press “Alt+ F11” to open the VBA editor.First and foremost, organize all file to be processed in one file folder.Method 1: Batch Convert Word Doc to Docx Files Thus, it’s of great necessity to find ways to convert between Word doc and docx files, better if it can achieve batch processing. Besides, you may be able to open doc files in Word with version of 2007 and higher, but some of the options can be restricted, causing inconvenience in editing. For example, you can’t open docx files in Word with version earlier before the 2007. Consequently, this leads to the difficulty of opening and editing sharing files. In team work, it’s likely that different members use different version of Word. Generally it’s been well-known that different Word versions save files in different types, with extensions like. In this article, there are 3 quick ways for you to batch convert Word doc to docx files and vice versa.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |