I have attached a file I am working with that has a userform with a listbox and two buttons. One piece of code loads the listbox with all sheet names. Transfer to master button puts each selected listbox item in a list on the sheet. Then I use another piece of code to combine the list of sheets that are listed on the master but I get a "subscript out of range" error and cannot figure out why. Thanks for any help