J
JethroUK©
i have written some code to convert picture files to metafile:
Sub CompressPictures()
Dim x%
With ActiveDocument.InlineShapes
For x% = 1 To .Count
.Item(x%).Select
Selection.Cut
Selection.PasteSpecial , , wdInLine, , wdPasteMetafilePicture
Next
End With
End Sub
i add pictures (screenshots) to the document regularly and would prefer only
to covert the new pics (bitmaps i think) - but i dont know how to read the
picture type before writing it - any ideas?
InlineShapes.Type ?????
Sub CompressPictures()
Dim x%
With ActiveDocument.InlineShapes
For x% = 1 To .Count
.Item(x%).Select
Selection.Cut
Selection.PasteSpecial , , wdInLine, , wdPasteMetafilePicture
Next
End With
End Sub
i add pictures (screenshots) to the document regularly and would prefer only
to covert the new pics (bitmaps i think) - but i dont know how to read the
picture type before writing it - any ideas?
InlineShapes.Type ?????