I've been having trouble copy and pasting images from one worksheet to another. This code works for PCs but not for Macs! I'm getting an error 1004 when I run it on Macs.
This is an issue with copy/pasting images! I've looked over many forums and nothing is working!
Below is my code:
Dim sh As Shape
For Each sh In Sheets("Settings").Shapes
Debug.Print sh.Name
If sh.Name = reportname Then ' give the name of your Picture here
sh.Copy
With Sheets(reportname)
.Select
.Range("A1").Select
.PasteSpecial
End With
Application.CutCopyMode = False
End If
Next
The error occurs on the .PasteSpecial line and once again is error 1004.
PasteSpecial Format:= "Picture (PNG)". - L42