tomross
10-08-2004, 04:55 AM
Hi -
Is there a way to be clicked on a cell and delete a control (such as a checkbox) which is currently in that cell? Deleting a row doesn't delete the control, and I can't figure out a macro that can remove controls.
I used macro recorder, but that doesn't help, as it grabs the specific name of the control and deletes it. The reason I asked if I could delete a control in a cell is this:
I have a macro that draws outlines in my database, adds info, and adds a checkbox and checks it depending on a certain criteria. I would like a macro to start with a clean slate, so to speak, and I can handle deleting all of the data. I'd like a macro to delete all of the checkboxes on my worksheet though, as they could be redrawn with the same macro at a later time and then assigned different names.
Possible?
Thanks :D
Is there a way to be clicked on a cell and delete a control (such as a checkbox) which is currently in that cell? Deleting a row doesn't delete the control, and I can't figure out a macro that can remove controls.
I used macro recorder, but that doesn't help, as it grabs the specific name of the control and deletes it. The reason I asked if I could delete a control in a cell is this:
I have a macro that draws outlines in my database, adds info, and adds a checkbox and checks it depending on a certain criteria. I would like a macro to start with a clean slate, so to speak, and I can handle deleting all of the data. I'd like a macro to delete all of the checkboxes on my worksheet though, as they could be redrawn with the same macro at a later time and then assigned different names.
Possible?
Thanks :D