Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-10-2016, 11:34 PM
Guessed's Avatar
Guessed Guessed is offline Macro to save docx to doc that checks compatibility and converts content controls to static content. Windows 10 Macro to save docx to doc that checks compatibility and converts content controls to static content. Office 2013
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default


Telling a document to save with a filename ending with .doc doesn't actually MAKE it a Word 2003 doc format. The suffix is a rough indication of what the file type should be but doesn't actually control the file type in itself.

If your filename.doc still contains Content Controls then the actual filetype is probably docx or docm.

If you want to change the filetype then you need to specify this
Code:
ActiveDocument.SaveAs2 FileName:=strDrive & fisword & ".doc", FileFormat:=wdFormatDocument
' or
ActiveDocument.SaveAs2 FileName:=strDrive & fisword & ".docx", FileFormat:=wdFormatXMLDocument
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #2  
Old 10-12-2016, 08:23 PM
staicumihai staicumihai is offline Macro to save docx to doc that checks compatibility and converts content controls to static content. Windows 7 32bit Macro to save docx to doc that checks compatibility and converts content controls to static content. Office 2010 32bit
Advanced Beginner
Macro to save docx to doc that checks compatibility and converts content controls to static content.
 
Join Date: Dec 2015
Posts: 33
staicumihai is on a distinguished road
Default

It works!
Thanks a lot man!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to save docx to doc that checks compatibility and converts content controls to static content. Save as .docx without content controls (just the text that was written in them) vitesse Word VBA 6 08-12-2022 02:01 AM
Macro to unlock content controls Catty Word VBA 7 03-18-2015 02:08 AM
Macro to save docx to doc that checks compatibility and converts content controls to static content. When content controls are deleted, my macro does not work as I would like. harry.ayre Word VBA 2 02-23-2015 10:35 AM
Word 2010 Macro Enabled Template with Content Controls keen1598 Word VBA 7 01-29-2014 03:17 PM
Macro to link 2 content controls bortonj88 Word VBA 2 08-21-2012 06:24 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:32 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft