RobbieC
Active Member
- Joined
- Dec 14, 2016
- Messages
- 376
- Office Version
- 2010
- Platform
- Windows
Hi there, I have a little dilemma.
I have a worksheet which has a button to import a picture into a cell. It names the picture 'Image1'...
When it imports, the button disappears and is replaced with a 'delete picture' button, which deletes and resets the buttons to import again...
However, if the user just deletes the picture (by highlighting and pressing delete), it leaves the 'remove' button and breaks the process...
Is there a way of detecting whether the user has deleted the image manually and then I can run the code accordingly?
I have tried Worksheet_SelectionChange and Worksheet_Change but neither of these seem to detect a picture being deleted from the sheet...
If you can point me in the right direction, I'd be very happy. Thanks and Merry Christmas
I have a worksheet which has a button to import a picture into a cell. It names the picture 'Image1'...
When it imports, the button disappears and is replaced with a 'delete picture' button, which deletes and resets the buttons to import again...
However, if the user just deletes the picture (by highlighting and pressing delete), it leaves the 'remove' button and breaks the process...
Is there a way of detecting whether the user has deleted the image manually and then I can run the code accordingly?
I have tried Worksheet_SelectionChange and Worksheet_Change but neither of these seem to detect a picture being deleted from the sheet...
If you can point me in the right direction, I'd be very happy. Thanks and Merry Christmas