VBA Button Sort

Kaibii

New Member
Joined
Feb 18, 2021
Messages
1
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hey all -

I'm really new to doing things like this with Excel and I was wondering is it possible?

What I'm trying to do is create two buttons for an end user. The first button after clicking would give an option of ascending or descending order, then give an option of which column the user wants to sort by. The second button would just return the table to default. Any ideas?

Thanks in advance,

Tyler
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Two buttons where? Your description is not very specific. Are you going to be embedding buttons/shapes in a sheet? Or were you thinking of something else? What VBA have you attempted for this? Did you experiment with the Macro recorder?
 
Upvote 0
If you set the Table to show the Filter Button, the user will have that functionality by clicking the button
 
Upvote 0

Forum statistics

Threads
1,214,584
Messages
6,120,385
Members
448,956
Latest member
JPav

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