Hi, I have an issue with command Button trying to change its position but not working. Please share Solution and also share that how we can drag the button with mouse.
Code to Move Command Button
- ArhamRajput
- Thread is marked as Resolved.
-
-
-
What have you tried that is not working?
-
Changing Position, trying to resize but option is hidden not available.
-
Here is attached file
-
Why do you want to drag the button?
Your sheet is protected so you cannot change the button's size
-
-
Ok, But please share the way how it can move and resize.
-
After Unprotected the sheet it is still not working Code is 1234 to unprotect the sheet
-
You want code to do it? Why?
-
The position of CommandButtons are disturb as you can see 1234 is code to unprotected the sheet then why its not working
-
I don't understand what you mean.
-
-
I have already described that how the CommandBox will be move from cell to cell there are two command box in my sheets with named Delete and ADD i want to resize them thier width thier height.
How it will done.
-
I don't know where you might have described what you want! You don't answer my question either - why do you want to move them? I think you expect to delete the roe based on the button's position, but I doubt if that will work.
-
-
Are you reading my replies?
-
Yes i am reading your replies.
-
-
You have replied thrice in above conversation and i had replied your each comment but still my issue is there. Now sheet can be unprotected via given password.
1. Why do you want to drag the button?
Your sheet is protected so you cannot change the button's size
Because i want to adjust the buttons according to my desired location.
2. You want code to do it? Why?
I dont want code if i can move or resize the button via MOUSE if no, then please share the code.
-
You haven't answered my questions about why you want to do this with code. I've told you to unprotect the sheet, also I assume that as you added the buttons then you know to amend them in Design Mode.
Just remember, I don't work for you and like everyone else answering questions it is voluntary
-
I've not made this sheet i just downloaded it just wana some amendments.
I know it is helping forum.
By the way thanks.
-
The buttons are ActiveX controls. You need to unprotect the sheet and click the Design Mode button in the Developer Tab of the Ribbon - itlooks like a set square and ruler. You can then move buttons or change their size.
For the code to work you have to switch off Design Mode when you have finished.
-
Thankyou so much.
-
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!