Hello all,
I have an excel sheet which requires donuts being drawn all over it on a regular basis.
I'm hoping to write a macro that for a certain range on a spreadsheet, for arguments sake lets call it A1: I10, upon clicking or double-clicking within the cells, vba adds a donut originating at the middle of that cell.
I can imagine it uses the addShape command-- beyond that I don't have a clue where to get started, but if someone can get the shape(s) to appear, i can easily modify it to my needs from there.
so, in short-
any help would be appreciated,
Henry
I have an excel sheet which requires donuts being drawn all over it on a regular basis.
I'm hoping to write a macro that for a certain range on a spreadsheet, for arguments sake lets call it A1: I10, upon clicking or double-clicking within the cells, vba adds a donut originating at the middle of that cell.
I can imagine it uses the addShape command-- beyond that I don't have a clue where to get started, but if someone can get the shape(s) to appear, i can easily modify it to my needs from there.
so, in short-
- Click a cell within the range A1:I10
- addShape msoShapeDonut (originating aligned to the center of the cell)
- (optional) Will not circle blank cells
any help would be appreciated,
Henry