Populating ListBox on UserForm from different columns of data from a worksheet

Pi_Lover

Board Regular
Joined
Nov 3, 2023
Messages
55
Office Version
  1. 365
Platform
  1. Windows
Good afternoon. I have tried and failed at several attempts to populate a ListBox that I have on a UserForm, from data on a worksheet. The issue I have ran into is that I am trying to populate data from several columns, while leaving some columns left off the ListBox. As an example: I want Col. B, C, AG, AK, AZ, etc to populate (15 columns in total), leaving out all the columns between those. I've also had problems getting the headings of the columns to match the same width of the columns of data with in the ListBox. Then, eventually, I will want to populate TextBoxes with in the Userform that will populate on another worksheet (This worksheet will end up being a report to be printed off). What I am looking to do is code it in a way to add specific columns under the headings from the worksheet. I can load an example worksheet into DropBox
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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