Sot Macro Button

Emb21

Board Regular
Joined
Jul 8, 2004
Messages
152
Hello,

I have room numbers, and names I would like to sort...ascending to descending.

I know how to use the sort but would like users to have a button that will automatically do it for them.

Say in column A and A7 was the header and A8 thru A200 is the data (room numbers) to the sort. Also, the data in Column B thru J must keep its integrity when sorted.

Do I need a macro for this or is there another feature. (Excel 2000)

Thanks,
Eric
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,357
Office Version
  1. 365
Platform
  1. Windows
Eric

If you really want a macro why not try recording one when you do the sort.

You could then assign it to a button.
 

Forum statistics

Threads
1,181,819
Messages
5,932,232
Members
436,826
Latest member
Rsavary

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