Expand Minimize
This topic has not yet been rated - Rate this topic

Range.CopyAsPicture Method (Word)

The CopyAsPicture method works the same way as the Copy method.

expression .CopyAsPicture

expression Required. A variable that represents a Range object.

This example copies the contents of the active document as a picture and pastes it as a picture at the end of the document.

Sub CopyPasteAsPicture() 
 With ActiveDocument.Range 
 .CopyAsPicture 
 .Collapse Direction:=wdCollapseEnd 
 .PasteSpecial DataType:=wdPasteMetafilePicture 
 End With 
End Sub
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.