Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Paste Special (Picture Windows MetaFile)

Status
Not open for further replies.

Icelizard

Programmer
Feb 9, 2006
17
GB
does anyone know the code for VBA Word macro to paste special using "Picture (Windows Meta File)"



Normally to find out i would create a new macro and act it out with the mouse, but after lookling at code it only does a basic paste special. Any ideas greatly appreciated.!
 
The DataType parameter of the PasteSpecial method has the following constants:

wdPasteBitmap, wdPasteDeviceIndependentBitmap, wdPasteEnhancedMetafile, wdPasteHTML, wdPasteHyperlink, wdPasteMetafilePicture, wdPasteOLEObject, wdPasteRTF, wdPasteShape or wdPasteText

I'd try wdPasteMetafilePicture


Regards,
Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top