I'm getting an intermittent error (1004 Microsoft Excel cannot paste the data) upon trying to paste an image in Excel as part of a larger VBA code. It's strange because it's only happening some of the time and I haven't been able to identify why. The error handling is also not working, the code is breaking on the paste line.
picTab.range("imageRNG").Copy
On Error GoTo picProblem:
picTab.Pictures.Paste
On Error GoTo 0