Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- While xFileName <> ""
- Documents.Open FileName:=xFolder & xFileName, _
- ConfirmConversions:=False, ReadOnly:=False, AddToRecentFiles:=False, _
- PasswordDocument:="", PasswordTemplate:="", Revert:=False, _
- WritePasswordDocument:="", WritePasswordTemplate:="", Format:= _
- wdOpenFormatAuto, XMLTransform:=""
- ' pseudo code "ActiveDocument.Translate.alltext"
- ActiveDocument.SaveAs xFolder & Replace(xFileName, "doc", "docx"), wdFormatDocumentDefault
- ActiveDocument.Close
- xFileName = Dir()
- Wend
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement