Excel_Fool
New Member
- Joined
- Apr 10, 2015
- Messages
- 15
Friends
I want to prevent users from editing the size of shapes but allow them to move the shapes around the spreadsheet. I have several ideas on how to do this but I need help with the code (I'm a code fool!).
And to be clear, I know Excel has built in ways to disable all editing of shapes but this is not an option for me because users must be able to move the shapes around the screen. There is also an excel option to "disable resize with cells" but this is doesn't prevent users from editing shape size.
Any ideas?
-Fool
I want to prevent users from editing the size of shapes but allow them to move the shapes around the spreadsheet. I have several ideas on how to do this but I need help with the code (I'm a code fool!).
- There may be a way to remove the "handles" so that users can move the shapes around the screen but not change the size of the shapes. Maybe make the mouse cursor turn to a hand when hovering over shapes?
- I've heard that using a text box or "Smart Art" instead of shapes can provide different options
- I've read that it is possible to code clicking off of a shape as an event (something like "<code>Workbook_SheetSelectionChange</code>"). According to this POST, it is possible to code clicking off a shape as a cue to set constant dimensions for a shape. Obviously, this is a workaround because users would still be able to edit the shape size but after clicking a cell or another shape, the dimensions would automatically resize to the original dimensions. The problem with the linked post is that I can't get the code to work. Maybe I'm not pasting it into the right place???
And to be clear, I know Excel has built in ways to disable all editing of shapes but this is not an option for me because users must be able to move the shapes around the screen. There is also an excel option to "disable resize with cells" but this is doesn't prevent users from editing shape size.
Any ideas?
-Fool
Last edited: