I'm working to develop a userform for a Excel file that has about 50+ worksheets in it. The userform should provide a listing of all visible worksheets minus a couple of sheets that should never be printed (but can't be hidden)
I figured out how to list all of the worksheets in a multiselect check box and have created a couple of placeholder command buttons, one each to either print, or save/export to PDF. But I'm currently struggling with the command button code. I "think" I need to first group all the selected sheets into an array, and then print the array or export to pdf. It should work so that only 1 PDF file is created based on the selected sheets.
This is the basic form code thus far, but is still empty for the command buttons.
Can anyone provide some starter tips?
Also, is there a better way to group/code the worksheets that should not be included in the listbox?
Bookmarks