sparky2205
Active Member
- Joined
- Feb 6, 2013
- Messages
- 481
- Office Version
- 365
- 2016
- Platform
- Windows
Hi folks,
I've had a lot of help from the forum with the file in this link: List of Hazardous Substances - MrExcel.xlsm to get me to this point.
The original post was titled "Insert a picture from another worksheet".
But now that I'm almost there I have one final problem that I can't resolve.
The spreadsheet is designed to get the correct pictogram from a hidden sheet called Pictograms when the button on the worksheet Tabelle2 is pressed.
The problem is that intermittently it throws a runtime error "Method 'Copy' of object 'Shape' failed" on the line
There is no pattern to when this happens. It is totally random. Sometimes the file will also close during execution.
The Pictograms sheet is hidden and password protected with password - Test - but I don't think this is the issue as it works fine sometimes.
@GWteB helped me previously by building a checker for this issue but the problem still persists.
Any help would be much appreciated with this.
If any clarifications are required let me know.
I've had a lot of help from the forum with the file in this link: List of Hazardous Substances - MrExcel.xlsm to get me to this point.
The original post was titled "Insert a picture from another worksheet".
But now that I'm almost there I have one final problem that I can't resolve.
The spreadsheet is designed to get the correct pictogram from a hidden sheet called Pictograms when the button on the worksheet Tabelle2 is pressed.
The problem is that intermittently it throws a runtime error "Method 'Copy' of object 'Shape' failed" on the line
ThisWorkbook.Worksheets("Pictograms").Shapes(BEZEICHNUNG).Copy
There is no pattern to when this happens. It is totally random. Sometimes the file will also close during execution.
The Pictograms sheet is hidden and password protected with password - Test - but I don't think this is the issue as it works fine sometimes.
@GWteB helped me previously by building a checker for this issue but the problem still persists.
Any help would be much appreciated with this.
If any clarifications are required let me know.