Lil Stinker
Board Regular
- Joined
- Feb 16, 2022
- Messages
- 151
- Office Version
- 2019
- Platform
- Windows
Just like how you can resize a shape using the up and down arrow buttons for height and width, how would you write this in VBA? I'm trying to mimic the inherent ability of Excel to increase or decrease the size of a shape incrementally using my own button shapes on the worksheet. Each time you click the Up button, I want the shape to increase height and width by 0.02" until it reaches 1" and stops. Similar for decreasing until it reaches 0.1" then stops.
I tried using the macro recorder but between .ScaleHeight, .ScaleWidth or .Height, .Width, I only seem to get one size adjustment. Haven't been able to find anything on the web that seems to work for what I want to do either.
Does anyone have any suggestions?
I tried using the macro recorder but between .ScaleHeight, .ScaleWidth or .Height, .Width, I only seem to get one size adjustment. Haven't been able to find anything on the web that seems to work for what I want to do either.
Does anyone have any suggestions?