![]() |
#1
|
|||
|
|||
![]()
I have html files on my C drive containing pictures. It opens correctly in a web browser. I open it in word 2013 and then try to save it as a docx. It saves a docx but the file is only 200 bites, instead of the 75MB it should be. The docx does open correctly and look good but if I delete the html, the docx no longer opens.
How do I save as a self contained docx? |
#2
|
||||
|
||||
![]()
The images are converted to links to the original images, links which cannot be viewed in Word 2013, so you need a two step process.
First save as Word 97-2003 DOC format (in a folder other than that containing the HTML files), then run the following macro to unlink the images: Code:
Sub UnlinkImages() Dim ofld As Field For Each ofld In ActiveDocument.Fields ofld.Unlink Next ofld End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
![]() |
Tags |
convert, docx, html |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
2013 docx to html image issue | iggyb | Word | 0 | 08-18-2014 08:44 AM |
![]() |
mrwednesday | Word | 4 | 10-15-2013 01:21 AM |
![]() |
pstein | Word | 1 | 01-11-2012 09:30 AM |
![]() |
the_lil | Word | 5 | 10-27-2011 08:41 AM |
![]() |
rybrns | Word | 5 | 09-26-2011 02:18 PM |