I have several OLEObjects in a spreadsheet. (They are image/pdf attachments)
When they get added I record their path in a range on a little grid. (Like a list of attachments)
I am trying to come up with a clean way to delete one of the OLEObjects. If one gets deleted, it should delete/clear the cell that is related to it.
For example:
1) I attach a pdf
2) My Macro Stores the PDF path in Cell A1 and places the OLEObject in Cell B1 (Its aligned with the top and left of B1)
If I delete the OLEObject in B1, how do I get it to clear the value of Cell A1?
Is there a way to link Range("A1") with a particular OLEObject? (So if either is deleted, then the other will be as well?)