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

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
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,376
Messages
6,119,174
Members
448,870
Latest member
max_pedreira

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