Force word to convert doc to docx wen document is open
Hi,
In my compagny we have install office 2013, we where in word 2003 before.
I'd like to configure word 2013 in order to force doc converting in docx format.
Is it possible ?
Is there a GPO ?
Thank for your answers.
Regard
I am not familiar with there being a GPO for that but you could accomplish it with a VBA.
Sub AutoOpen()
If Right(ActiveDocument.Name, 1) = "c" Then
ActiveDocument.Convert
ActiveDocument.Save 'optional
End If
End Sub
Put this into a Global template (MyConvert.dotm for example) and add it to Word's startup folder on each machine.
Be aware there are risks with converting documents, and in particular with documents that contain tables. The cells in table contained within the document will change width by an amount measured in the hundredths of an inch. However, even though change size
is small it will effect column alignment if you edit the tables later by adding rows to the end of the table or splitting the table and then adding additional rows.
Personally, I consider this a serious bug as it also happens in XML based documents that were created with earlier versions of Microsoft Word (2010, 2007, and even 2011 for the Mac). When those earlier XML documents are moved to 2013, they are considered
to be in compatibility mode also.
Try a simple test yourself. Start a new document using Word 2010 or 2007 and add a single 3 X 1 table row, From the table properties dialog note the width of the 3 cells then save and close the file. You can save it as either a doc or docx format. Now open
the document with Word 2013 and verify that it's in compatibility mode and check the table cell widths. Now convert the document (File > Convert Document) and check the table cell widths. They will have changed. Now add a row to the the table by selecting
the open paragraph immediately following the table and choose Insert > Table >3 x 1.
The columns don't align do they? Attempting to get them back in alignment is not a lot of fun either, especially if the table is large.
I am trying to get Microsoft to do something about this problem but can use additional voices if you think this is as serious of an issue as I do.
Kind Regards, Rich ... http://greatcirclelearning.com
Similar Messages
-
Use PS to convert .doc to .docx and not have the compatibility mode issue
Awesome I will bookmark that site. Thank you!
I am looking for a power shell script to convert .doc file to .docx in word 2013 and also make the compatibility mode go away. So the user only has to open it and has no issues with compatibility. I have found a couple but still have the compatibility mode when opening.
This topic first appeared in the Spiceworks Community -
How to Convert Doc or Docx File to HTML?
Is there any API in java is avilbale to convert doc/docx into HTML?
Mr Babakishiyev wrote:
Not in the JDK.
But you can use POI for working excel and doc filesBut not to fulfill the requirement.
The only thing I can think of if you must use Java (which tends to not be the best choice when having to work with Microsoft file formats) is to see if the OpenOffice API can do what you need. But then get ready for some reading. -
How to convert .doc files to .docx in a sharepoint library programmatically.
Is there any possibility to Convert .doc files to .docx in a sharepoint document library.
I have thousands and lakhs of .doc files and I need to automate to convert those .doc files to .docx with an automation script or powershell script or doing it programmatically.
Can someone help me get through this.
Thanks
GayatriHello Gayatri,
You can convert files from doc to docx using following options
Option 1
in bulk using Office File Converter (OFC) and Version Extraction Tool. Please refer below url for reference - http://technet.microsoft.com/en-us/library/cc179019.aspx
Option 2 - PowerShell
please refer url -http://blogs.msdn.com/b/ericwhite/archive/2008/09/19/bulk-convert-doc-to-docx.aspx
Convert DOC to DOCX using PowerShell
I was tasked with taking a large number of .DOC and .RTF files and converting them to .DOCX. The files were then going to be imported into a SharePoint site. So I went out on the web looking for PowerShell scripts to accomplish this. There are plenty to
choose from.
All the examples on the web were the same with some minor modifications. Most of them followed this pattern:
$word = new-object -comobject word.application
$word.Visible = $False
$saveFormat = [Enum]::Parse([Microsoft.Office.Interop.Word.WdSaveFormat],”wdFormatDocumentDefault”);
#Get the files
$folderpath = “c:\doclocation\*”
$fileType = “*doc”
Get-ChildItem -path $folderpath -include $fileType | foreach-object
$opendoc = $word.documents.open($_.FullName)
$savename = ($_.fullname).substring(0,($_.FullName).lastindexOf(“.”))
$opendoc.saveas([ref]“$savename”, [ref]$saveFormat);
$opendoc.close();
#Clean up
$word.quit()
After trying out several I started to convert some test documents. All went well until the files were uploaded to SharePoint. The .RTF files were fine but even though the .DOC fiels were now .DOCX files they did not allow for all the functionality of .DOCX
to be used.
After investigating a little further it turns out that when doing a conversion from .DOC to .DOCX the files are left in compatibility mode. The files are smaller, but they don’t allow for things like coauthors.
So back to the drawing board and the web and I found a way to set compatibility mode off. The problem was that it required more steps including saving and reopening the files. In order to use this method I had to add a compatibility mode object:
$CompatMode = [Enum]::Parse([Microsoft.Office.Interop.Word.WdCompatibilityMode], “wdWord2010″)
And then change the code inside the {} from above to:
$opendoc = $word.documents.open($_.FullName)
$savename = ($_.fullname).substring(0,($_.FullName).lastindexOf(“.”))
$opendoc.saveas([ref]“$savename”, [ref]$saveFormat);
$opendoc.close();
$converteddoc = get-childitem $savename
$opendoc = $word.documents.open($converteddoc.FullName)$opendoc.SetCompatibilityMode($compatMode);
$opendoc.save()
$opendoc.close()
It worked, but I didn’t like it. So back to the web again and this time I stumbled across the real way to do it. Use the Convert method. No one else seems to have used this in any of the examples but it is a much cleaner way to do it then the compatibility
mode setting. So this is how I changed my code and now all the files come in to SharePoint as true .DOCX files.
$word = new-object -comobject word.application
$word.Visible = $False
$saveFormat = [Enum]::Parse([Microsoft.Office.Interop.Word.WdSaveFormat],”wdFormatDocumentDefault”);
#Get the files
$folderpath = “c:\doclocation\*”
$fileType = “*doc”
Get-ChildItem -path $folderpath -include $fileType | foreach-object
$opendoc = $word.documents.open($_.FullName)
$savename = ($_.fullname).substring(0,($_.FullName).lastindexOf(“.”))
$word.Convert()
$opendoc.saveas([ref]“$savename”, [ref]$saveFormat);
$opendoc.close();
#Clean up
$word.quit() -
How to make a stationery out of .doc or .docx file?
Hi,
I stumbled upon a website that has some nice stationery, in .doc format. and since there few free pre made stationery available for Mail.app, at least to my knowledge, because I think I almost downloaded every free stationery available out there that could be easily found via Google. I decided to download some of these .doc stationeries and try to put them in Mail.app, but first I had to convert them into .html format. so here is what I've already tried and did not work:
first I tried opening them in TextEdit, which supports .doc out of the box, only to find out that the pictures in the documents are gone to thin air. I tried saving it and then opening it with something else like Open Office, but the pictures were permanently gone.
then I tried opening the original documents directly in Open Office, you guessed right If you said they will look screwed, and they were, and tried to save them as html, they were screwed even more.
so I did a bit of research and found out that I could use Google Docs in order to convert the documents, I uploaded them into my Google docs and then tried to open them with it, but found it that Google docs can't handle the pictures (specially background pictures) either. as a result I did more searching to find a document converter and here is what I found:
I found a few online service to convert these documents:
http://www.freefileconvert.com/ was pretty good to convert the files into an .odt format. at first I thought yes I got the solution, now I can simply convert it to html using Open Office, but unfortunately, when I saved the document in html format and checked it in Safari to see how does it look, as If I would have done the same in MS Office with the original format, it looked pretty much screwed .
So I continued to look and I found a few other online services one of them asked me to pay a fee, I skipped to the other one which was http://docx-converter.com/. unfortunately the website wasn't functioning properly I think, at least for me (maybe someone out there has succeeded using it, I don't know.) and it didn't send me anything.
Finally I found http://www.zamzar.com/ that could convert .doc or .docx documents into html, or at least that is what it claims to do so, I tried it, and after I received the file via email, I found out it only contains a bmp image of the document's background. So much for the online conversion services!
But I decided I would give it a last shot using MS Office online, so I opened up my old Windows Live mail and went into my Skydrive, I uploaded the documents and tried saving it as html, but there were no save as html (after all an online copy of MS Office should have some limitations, otherwise few people will be willing to buy a Desktop version) but this didn't made me disappointed, since I already knew, that Neither Office Word can make a clear conversion, so I tried something different, while I was in Safari looking at the document in online MS office, I saved the page as Web Archives, then I opened the file with TextEdit, and after deleting useless links and pictures, I finally managed to get a clear document with everything that supposed to be in it. At this point I only need to know how to make use of this document to create a stationery with this raw file which is in Web Archive format. any ideas?
nullI'm a total idiot! How did I overlook http://www.zamzar.com/ functions? I think I might have mistakenly chosen convert to BMP instead of html. I tried it and the result was very good.
OK I finally found a good solution for this problem, so everyone out there that has the same problem, here is what I did:
1. OK if you have some .doc and .docx file formats and you want to convert them into something like .html or .odt, without having to reedit the code or getting a screwed document, use http://www.freefileconvert.com/ in order to convert them into .odt so they would look as they do in MS office just go to the website and upload your documents then choose .odt, then click convert, after a few moments you will get a link to download your .odt files. you can use and play around with your document in Open Office, I have tested it and it's really good.
2. Or if you want to convert them into .html with a clean code, and all the elements in it, simply go to http://www.zamzar.com/ and then ulpoad your documents, choose .html and enter your email address, you will have your .html files zipped and sent right in your inbox, then you could use Kompozer like me, or any other html editor, to make a template out of it. I tried it and the result was nice, now I have a bunch of nice html files that I can use to make templates and email stationery. -
Help with embedding Type1 OTF Fonts in Word 2007/2010 docs
Hi,
I purchased a few Adobe OpenType Pro fonts including Myriad Pro and Garamond Pro. I want to use those fonts in Word 2007 and/or 2010 .docx type documents. It works fine while I work on my PC which has the fonts installed. Word recognizes the fonts and I can use them, in the 2010 version even with some OpenType features like ligatures, medieval numerals, etc. However, I have tremendous difficulties embedding those fonts so recipients can actually read and/or edit my documents.
Exporting the fiels into PDF also skips embedding the fonts (at least as long as I use Microsofts PDF Export).
Can someone please tell me:
1) Is embedding of OpenType fonts in Word 2007 or 2010 possible at all?
2) If not, can I trade in the fonts for the corresponding TrueType versions?
3) If that is not possible, is there a way to convert the fonts into TrueType without losing too much of the font quality?
Thank you all for your kind support.
JPMicrosoft only allows embedding of TrueType fonts and OpenType TrueType-flavored fonts to be embedded in their Office documents. There is nothing in OpenType CFF fonts (the OpenType fonts with Type 1 outlines in them) from being embedded in Office documents other than a business decision by Microsoft. Complain to them.
No, Adobe does not provide its OpenType CFF fonts in OpenType TrueType format.
No, there is no reasonable way to “convert” OpenType CFF fonts to OpenType TrueType format without some degradation of quality. Essentially you would be converting Bezier curves definition outlines in quadratic curve outlines and discarding the hinting which provides for intelligent scaling.
I suggest you complain to Microsoft about this. Again, it is their business decision and pretty bone-headed one at that!
- Dov -
Hi - Will Ipad Air word apps convert to .doc or .docx?
Hi,
I have been a microsoft user most of my life. I have decided to buy an ipad air and I need to know whether its word programme will convert to both .doc and docx
Also, on my laptop at the moment I save files on microsoft skydrive - will I still be able to save files on this cloud from an ipad air?
Thanks
SofiaI have been a microsoft user most of my life. I have decided to buy an ipad air and I need to know whether its word programme will convert to both .doc and docx
There is no Word program for the iPad. Microsoft hasn't made one. But Pages can read and write most Word files:
http://www.apple.com/uk/ios/pages/
Also, on my laptop at the moment I save files on microsoft skydrive - will I still be able to save files on this cloud from an ipad air?
Microsoft has published a free SkyDrive app for the iPad:
https://itunes.apple.com/gb/app/skydrive/id477537958?mt=8 -
What can I do to get Adobe to download a pdf file it has converted into a doc or docx file? Any help appreciated!
Hi Ebbelby,
You're welcome!
Happy to help
Regards,
Rahul -
I'm having a problem sending a word doc via email. I have Mac for Office 08, and I'm using Mavericks OS. When I save the document as a .doc or .docx, and send it to someone, (doesn't matter if its safari, chrome or firefox or on my yahoo or gmail accounts) they receive it as a blank document. Yet, when I open it on my Mac, it has a "word" icon and I can read it. How do I fix?
I suggest you post on the Microsoft Mac forums since it's their software you're having issues with.
http://answers.microsoft.com/en-us/mac -
Hello,
I was changing the headers of a series of word documents (some .doc, some .docx) and, in spite of inserting the image from a file in each one, i just copied and pasted the image from one to another after a first insertion.
My source image was a 300dpi rgb jpeg: i noticed that, when coping it from a .doc document to a .docx document the image automatically downsizes to 150dpi and becomes a png; Is there a reason for it? Is there something I am doing wrong? Where can I eventually
control that setting?
Many thanks!
SaraHi,
This forum is to discuss problems of Office development such as VBA, VSTO, Apps for Office .etc. But I think your issue is related to the using of Word.
For more efficient responses, I suggest you can consider posting it in
Word IT pro forum.
Thanks.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Receiving word docs with .docx extension
I have been receiving word documents with .docx extension, which then open only in Text Edit rather than Word for Mac. It loses the formatting and the ability to edit and return to the sender. Is it because of the version of Word they are using? Can I convert it into a document I can open in Word?
Can I convert it into a document I can open in Word?
At the bottom:
http://www.microsoft.com/mac/downloads.mspx?pid=Mactopia_AddTools&fid=EDB6CD8F-8 32C-4123-8982-AC0C601EA0A7#viewer -
MS word .doc or .docx attachments won't send or receive in Thunderbird
I'm running Mac OS X 10.9.5 and Thunderbird 31.5.0. When I attach a .doc or .docx file in Thunderbird to an outgoing message, the attachment disappears. The outgoing message sends as normal, but when I go into my sent folder, there's no attachment, and when the recipient receives the message, there's no attachment. I've tried this from multiple accounts, both IMAP and POP, and I've tried it with many different .doc or .docx files, sending them to myself as tests. Every time they disappear. Other attachments--.pdf, .zip, etc.--work fine.
I found a solution to this problem:
http://www.geos.ed.ac.uk/it/FAQ/Thunderbird/
In some instances the Thunderbird mail client may send a .doc file (Word attachment) with the incorrect mime-encoding of 'application/applefile'. Perform the following steps to resolve the problem:
1) Close Thunderbird.
2) Navigate to the following directory: \Users\<your username>\Library\Thunderbird\Profiles
3) Open the directory named with a random set of characters, e.g. "yo6luyl8.default". There may be multiple directories if you have multiple Thunderbird profiles.
4) Delete the file named 'mimeTypes.rdf'.
5) Restart Thunderbird which will recreate a correct mimeTypes.rdf
Thunderbird seems to acquire this behaviour when it receives incorrect attachments sent by an email client on a Mac.''swalvarez [[#question-1050640|said]]''
<blockquote>
I'm running Mac OS X 10.9.5 and Thunderbird 31.5.0. When I attach a .doc or .docx file in Thunderbird to an outgoing message, the attachment disappears. The outgoing message sends as normal, but when I go into my sent folder, there's no attachment, and when the recipient receives the message, there's no attachment. I've tried this from multiple accounts, both IMAP and POP, and I've tried it with many different .doc or .docx files, sending them to myself as tests. Every time they disappear. Other attachments--.pdf, .zip, etc.--work fine.
</blockquote> -
Hi,
First i'll explain what i did.
I've Thinapped Office 2010 Professional Plus SP2 with an Internet Explorer entry point. (Thinapp version 4.7.3)
Made some changes in the registry so .doc and .docx files will open in the virtual IE browser.
Here are my changes made to the registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8]
"BrowserFlags"=dword:80000024
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.RTF.8]
"BrowserFlags"=dword:80000024
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.12]
"BrowserFlags"=dword:80000024
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.DocumentMacroEnabled.12]
"BrowserFlags"=dword:80000024
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\AttachmentExecute\{0002DF01-0000-0000-C000-000000000046}]
"Word.Document.12"=hex(0):
"Word.Document.8"=hex(0):
Now i have this problem:
When opening a .doc or .docx file in the browser a ' download bar' appears.
My document opens in the browser as expected but, at the same time an empty grey Word window appears at the background.
The grey window shows not all the time when opening a .docx or .doc file , this is whats so strange about it.
Sometimes when i open the .doc or .docx file it opens without the grey empty word window. It seems like it's happening randomly.
I also tested it out with .xlsx files (Excel) but this go's all well.
Before i forget, this all runs on a Windows 7 Enterprise environment.
Does anyone know what causes my problem, or can anyone help me?
Kind regards,
MartijnHi,
First i'll explain what i did.
I've Thinapped Office 2010 Professional Plus SP2 with an Internet Explorer entry point. (Thinapp version 4.7.3)
Made some changes in the registry so .doc and .docx files will open in the virtual IE browser.
Here are my changes made to the registry:
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.8]
"BrowserFlags"=dword:80000024
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.RTF.8]
"BrowserFlags"=dword:80000024
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.Document.12]
"BrowserFlags"=dword:80000024
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Word.DocumentMacroEnabled.12]
"BrowserFlags"=dword:80000024
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\AttachmentExecute\{0002DF01-0000-0000-C000-000000000046}]
"Word.Document.12"=hex(0):
"Word.Document.8"=hex(0):
Now i have this problem:
When opening a .doc or .docx file in the browser a ' download bar' appears.
My document opens in the browser as expected but, at the same time an empty grey Word window appears at the background.
The grey window shows not all the time when opening a .docx or .doc file , this is whats so strange about it.
Sometimes when i open the .doc or .docx file it opens without the grey empty word window. It seems like it's happening randomly.
I also tested it out with .xlsx files (Excel) but this go's all well.
Before i forget, this all runs on a Windows 7 Enterprise environment.
Does anyone know what causes my problem, or can anyone help me?
Kind regards,
Martijn -
Converting Word (97-2003) docs with tables
I have tried converting a few Word docs with tables using Acrobat.com. There is one small image in the upper right corner that in the converted doc stays in the same place so I know that is not the issue. What happens is that the converted document takes a nicely formatted document with tables and nested tables and turns it into a 4 page document and places all of the information in a larger table in the first column and looks nothing like the original with the exception of the header.
I figured out that if I save the file to ODT that only the font gets changed (but this can be fix on my end by using a supported font). However, the person responsible for converting documents in the future after me neither has Acrobat pro or a way to save files in ODT format (they refuse to upgrade to Word 2007 for some reason so no ODT or Convert the PDF/XPS plug-in for them) so Acrobat.com is a sollution I was looking into to keep productivity going.
If needed, I can send the original documents for anyone who would like to troubleshoot them and give feedback on what I could try so that they will work on Acrobat.com in ODT format.Thank you for your post. Would you please send along some sample files to us? Please reference this forum post, and I'll pass the files along to our QA folks for testing. Hopefully we'll be able to resolve the issue shortly! One more thought - you might try either creating your original document in Buzzword, then converting to PDF OR importing the word file to Buzzword, making any edits, and then converting to PDF. Could help. Let us know!
Michelle -
How to Open Doc. and Docx. attachments with Word 2013 from Firefox
I just got a new laptop and installed Office 2013. However, when I try to open an attachment from my email or a document from the web, the box comes up that says "What should Firefox do with this file?" I can save the file fine, but when I click "Browse" next to "Open with", Microsoft Word is nowhere to be found. It would be nice to get the document to automatically open in Word. I am not sure if this is the correct place to ask this question, but any help would be appreciated.
Which application opens the file if you double-click such a file in Windows Explorer?
If the default program is Word then Firefox should offer that application as the default.
In the case of an attachment then it may not be likely that the file is send with the correct MIME type for a doc or docx file, but possibly a generic type like "application/octet-stream" that will make Firefox want to save the file.
*https://support.mozilla.org/kb/change-firefox-behavior-when-open-file
Maybe you are looking for
-
After 10.5.8 Update, Photoshop automatically quits when opened?
Hi, I have a virtually brand new imac and just updated to 10.5.8 - and now whenever I try to open my Adobe Photoshop CS4 it automatically "quits unexpectedly". I do not use time machine (just got the mac and don't have backups yet...) and am unsure h
-
Satellite Pro A200 PSAE4E - WLan speed regularly drops out
Hi Does anyone know what causes my laptop to lose wifi on a regular basis? It is a Satellite Pro A200 PSAE4E running on XP. I purchased the laptop new back in February and it came with Vista loaded but the wifi kept dropping out and was advise to swa
-
When I try to sync my iPhone, I get an error message that says "This iPhone cannot be used because the Apple Mobile Device Service is not started. There's no explanation of what to do to fix it.
-
Hello everybody. I have a problem updating my N73. My current software version is 2.0628.0.0.3 27-07-2006 - which I know is pretty old but when I try to update with my software updater it tells me that there are no update versions for my phone. Also
-
I'm getting an error Starting up FGEN-SFP
I'm getting an error starting up NI-FGEN Soft Front Panel v1.4. On the splash screen that starts up with the application, in the midst of loading NI configuration manager, the following error appears: "NI-FGEN for DAQ 2.0.0 or higher was found, but i