I am using Windows 10 Enterprise 64 bit, Office 2016 Pro 64 bit. I am trying to copy 2 shapes from one worksheet to another worksheet.
The following API code works sometimes, but most times it shoots an Error 1004 for Copy or Paste (Clipboard timing issue). I have tried using different solutions e.g. Timer, Wait, API etc., but seem slow and buggy most of the times!
Also i am trying to paste the images on opposite ends of each merged cell. I have also attached a sample file for inspection.
I don't remember but i read somewhere that if i create separate copy and paste functions/procedures, then it might solve the issue, though not sure!
The API code:
Bookmarks