TheSwamp

Code Red => VB(A) => Topic started by: mbrandt5 on January 07, 2019, 05:22:05 PM

Title: Paste special Metafile
Post by: mbrandt5 on January 07, 2019, 05:22:05 PM
Please if anyone knows how to programmatically paste special a drawing as a metafile, help me lol. Through ActiveX, VBA, and Autolisp all I can find is sending the command with sendcommand, though then I can not select from the dialog box with my current.  "_.-PASTESPEC" seemingly does not work, thoughts??
Title: Re: Paste special Metafile
Post by: mbrandt5 on January 08, 2019, 11:38:44 AM
Actually figured it out for anyone interested, to select the metafile you can used the letter, so the following.  The p is for selecting "Picture (Metafile)"


Code: [Select]
Sendcommand "_PASTESPEC" "P"