converting from HTML to DOV and RTF

  • Thread starter Robert Marquardt
  • Start date
R

Robert Marquardt

I want to convert a HTML document with image links to RTF and DOC.
I want the images to be embedded into the RTF and DOC files instead of
referencing the external files which is the default if i do it by hand.
The idea is to let Word 2000 (or later) make that conversion through
automation.
 
R

Robert Marquardt

I have found the element to manipulate so my problem is solved.

Somewhere buried in the Word help:
Set myPic = ActiveDocument.InlineShapes(1)
If myPic.Type = wdInlineShapeLinkedPicture Then
myPic.LinkFormat.SavePictureWithDocument = True
End If

If i do that for all the InlineShapes then Saveas should put the images
into DOC and RTF files.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top