set mydoc to "/Users/hcl/Desktop/Sample.doc"
tell application "Microsoft Word"
activate
open mydoc
save as active document file format format document file name "Sample_new.docx"
close active document
end tell
But it not converting the doc to docx without compatibility. I want to save as the doc file into docx. Please help.
Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.