I open my spreadsheet and the buttons become un-aligned

dpaton05

Well-known Member
Joined
Aug 14, 2018
Messages
2,148
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: 5
  • out2.png
    out2.png
    7.1 KB · Views: 5

Michael M

Well-known Member
Joined
Oct 27, 2005
Messages
20,052
Office Version
  1. 2016
  2. 2013
  3. 2007
Platform
  1. Windows
I don't believe so, unless this modifies you shape positions, but I don't know where that shape sits !!
VBA Code:
.Shapes("cmdGarrettB").Visible = True
Try commenting that line out and see what happens,
 

Some videos you may like

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

dpaton05

Well-known Member
Joined
Aug 14, 2018
Messages
2,148
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Thanks for the idea of setting the position of the buttons manually, I will give that a go.
 

jtakw

Well-known Member
Joined
Jun 29, 2014
Messages
5,973
Office Version
  1. 2016
Platform
  1. Windows
Hi,

Using a copy of your Workbook, try "Grouping" your buttons in Design Mode.
 

Michael M

Well-known Member
Joined
Oct 27, 2005
Messages
20,052
Office Version
  1. 2016
  2. 2013
  3. 2007
Platform
  1. Windows
@jtakw
Yep.....why use code when the obvious will do....hopefully... (y) :cool:
 

eduzs

Well-known Member
Joined
Jul 6, 2014
Messages
693
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
Try change to move but not size with cells.
 

Watch MrExcel Video

Forum statistics

Threads
1,127,758
Messages
5,626,691
Members
416,200
Latest member
Pulsar3000

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
Top