I open my spreadsheet and the buttons become un-aligned

dpaton05

Well-known Member
Joined
Aug 14, 2018
Messages
2,352
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have a spreadsheet that has a sheet with a table. Under the table there is a row of 3 buttons. Each time I get to work, I open the spreadsheet and have to line the buttons up again. I have uploaded 2 images, out1 is what the buttons look like, each time I open them on a new day and out2 is what they are meant to look like. I don't know why they keep moving or where I could look for a possible cause. Can someone give me some ideas of where I could look please?
 

Attachments

  • out1.png
    out1.png
    7.7 KB · Views: 7
  • out2.png
    out2.png
    7.1 KB · Views: 6

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Try set don't move or size with cells under Size and Properties.
Backup before doing any modification.
 
Last edited:
Upvote 0
Right click button, under Format Control, Properties
 
Upvote 0
Actually, that doesn't work as the table will have rows cells added to it and the buttons need to move accordingly. If I select your option, the rows are added and the buttons are not moved so they remain the same distance from the table.
 
Upvote 0
Have you looke at your Auto_open macro to see if there is anything in that code that is throwing the buttons off ?
Otherwise, you may need to incorporate the button positions into the Auto_open macro to make sure they stay the same.
 
Upvote 0
Would any of this code make a difference.

VBA Code:
Private Sub Workbook_Open()
Quoting.Unprotect Password:=ToUnlock
    ThisWorkbook.Worksheets("Start_here").Activate
        With ThisWorkbook.Worksheets("CSS_quote_sheet")
            .Shapes("cmdGarrettB").Visible = True
        End With
        Start.Unprotect Password:=ToUnlock
            Application.Goto Reference:=Worksheets("Start_here").Range("a1"), Scroll:=True
        Start.Protect Password:=ToUnlock
Quoting.Protect Password:=ToUnlock
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,447
Members
448,966
Latest member
DannyC96

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