S
striderwho
Hi all,
I need to draw a rectangle autoshape to the precise length that is
given by data in a separate sheet. I've managed to do this, but the
hard part is that if a user changes the length of this rectangle bar,
the data in the other sheet needs to be updated; and vice versa, if the
sheet is updated then the correct rectangle (there's more than one)
must be updated as well.
I think i can do the second part by using the Worksheet_Change
property, however I have no idea how to make the worksheet aware that
the user has changed an autoshape's size, and exactly which one has
changed (although i'm guessing if you can do the first bit, getting the
name of the shape should not be too hard). There doesn't seem to be
event handlers for autoshapes!
If anyone can help me with this problem, it'll be great!!
Thanks,
Jenny
I need to draw a rectangle autoshape to the precise length that is
given by data in a separate sheet. I've managed to do this, but the
hard part is that if a user changes the length of this rectangle bar,
the data in the other sheet needs to be updated; and vice versa, if the
sheet is updated then the correct rectangle (there's more than one)
must be updated as well.
I think i can do the second part by using the Worksheet_Change
property, however I have no idea how to make the worksheet aware that
the user has changed an autoshape's size, and exactly which one has
changed (although i'm guessing if you can do the first bit, getting the
name of the shape should not be too hard). There doesn't seem to be
event handlers for autoshapes!
If anyone can help me with this problem, it'll be great!!
Thanks,
Jenny