Hi Everyone,
In a Macro I am creating, I am trying to copy a Chart already selected and paste in a picture format. The code section is below:
ActiveWindow.Visible = False
ActiveWindow.WindowState = xlNormal
ActiveWindow.WindowState = xlMaximized
Range("A21").Select
ActiveSheet.PasteSpecial Format:="Picture (Enhanced Metafile)", Link:=False _
, DisplayAsIcon:=False
The error comes from the Metafile line. Perhaps I need to enable a set of commands? I am not sure.
Thanks for the help and effort!
Sincerely,
dbiluk
Bookmarks