I'm trying to use a listbox in a form and set the columns up so that they are the same widths as the sheet, so nothing gets truncated in the form. On the sheet, they are set up to Autofit. I have added code to get the column widths for each column on the sheet. The column widths on the sheet are 10, 39, 13, and 10. I am then trying to bring those columns of data from the sheet into the listbox. When I set the .ColumnWidths for the form equal to 10;39;13;10, it does not display correctly in the form. The columns are way to small. Is there a way to do this to base it off the column width on the sheet so nothing gets truncated?
Bookmarks