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

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,223,882
Messages
6,175,166
Members
452,615
Latest member
bogeys2birdies

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