Sorting Query

AliGeeJay

New Member
Joined
Nov 28, 2018
Messages
14
Office Version
  1. 365
Platform
  1. Windows
I have a query relating to sorting in Excel that has me stumped at the moment.

I have a table with five Command Buttons in Column A. In the columns B - E is the data.

When I select Column A - E and try to sort, on Column C for example, the data sorts as expected but the Command Buttons in Column A do not move.

I have checked the Command Button properties and they are all set to Move and Size with cells.

All I can find when searching is how to sort using a Command Button, not how to sort a column that contains Command Buttons.

Any help will be gratefully received.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
I find that if you size the buttons (or the cell) so that each button fits entirely within one cell and does not overlap into any other cell, then the buttons will sort with the cell. If there is any overlap with another cell, they will not.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,987
Messages
6,122,618
Members
449,092
Latest member
amyap

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