I have a multi column listbox (9 columns) in a userform.
I'm trying to create a checkbox which remove a entire column of the listbox when marked (if unmarked, the column comes back), so I'll able to export the listbox contents without the column related to that checkbox.
How do I remove a listbox column using a control like a checkbox?
It is already populated and I already have a button which exports and save the listbox content into a new workbook.
I am not trying to remove a column in a worksheet using a listbox. I just want to remove a column inside a listbox in a userform.
I already tried to hide the column setting its width to 0, but it still appears in the exported file.
Thank you very much!