Active X buttons move every time button is clicked

pingme89

Board Regular
Joined
Jan 23, 2014
Messages
170
Office Version
  1. 365
Platform
  1. Windows
I have an issue with the Active X buttons in my workbook.
Every time I click on those buttons, the button shifts to the left. I have locked the sheet. I have locked each button. I have changed the button property placement to 3. I have even tried Property placement 1. I have set all the button properties to "Don't move or size with cells".

Nothing works. No matter what I do, each time I press the button, the button shifts a bit to the left.

Is there a way where I can get the position of the button upon clicking it and then resetting the original position after running my code?

Thanks in advance.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Just curious, what does the macro do that the button is assigned to? I had a macro that when I clicked the button it would delete rows. So if the button was below the rows that were deleted the button would automatically shift up. Are you deleting columns?

Edit: Just noticed that you had said that you did set the properties to not move or resize with cells... Sorry, I'm no help. lol.
 
Last edited:
Upvote 0
Just curious, what does the macro do that the button is assigned to? I had a macro that when I clicked the button it would delete rows. So if the button was below the rows that were deleted the button would automatically shift up. Are you deleting columns?

Edit: Just noticed that you had said that you did set the properties to not move or resize with cells... Sorry, I'm no help. lol.


Well, most all of the buttons are from Rows 1 to 12. The only button that shifts is the one I click. No rows are ever deleted from rows 1-12. From Rows 15 onward, a list is generated where some lines may be deleted. The buttons shift no matter where the buttons are located on the sheet.

Moreover, this never happened before on this spreadsheet. It only started happening today. It was perfectly fine before.
I did have issues with the buttons changing sizes and fonts sizes changing upon clicking but I solved that problem by resetting the Button sizes after they were clicked.

But now I have moving buttons...
 
Upvote 0

Forum statistics

Threads
1,214,659
Messages
6,120,786
Members
448,993
Latest member
Seri

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top