Listbox Columns - re-arrange order shown

Pacman52

Active Member
Joined
Jan 29, 2009
Messages
416
Office Version
  1. 365
Platform
  1. Windows
Hi

Is it possible to re-arrange the order that columns show in a listbox?

Basically I have a listbox that is showing only 7 out of the 60 odd columns on the worksheet. What I'm trying to accomplish is the order that the column headings are shown when the listbox is opened. So for example the heading are :
'Heading 1', 'Heading 2', 'Heading 3', 'Heading 4', 'Heading 5', 'Heading 6', 'Heading 7',

But when the list box is opened I'd like them to appear
'Heading 7', 'Heading 5', 'Heading 3', 'Heading 1', 'Heading 2', 'Heading 4', 'Heading 6',

Its not a major issue if it can not be done but I'm just trying to make the listbox 'flow' better for the users.

(I do know I can just re-arrange the sheet columns)

Many thanks

Paul
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
There is no way to do this without either rearranging the sheet columns, or writing code to load the columns instead of using the RowSource property. If you do the latter, you won't get the headings automatically and also have to write the code for that.
 
Upvote 0
Hi Jeff thanks for the reply as said its not a major issue really so I'll leave it as it is.

Thanks Paul
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

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