nieironsio
Vendor
Hello there
I am trying to populate a listbox on a userform with the sheet names of the spreadsheet. I need a code that picks up, firstly, how many sheets there are and then puts them into a listbox for selection. I would like the macro to work on any spreadsheet regardless of how many sheets there are.
Currently i can only create a code like this when i know how many sheets there are.
Thanks
Nie
I am trying to populate a listbox on a userform with the sheet names of the spreadsheet. I need a code that picks up, firstly, how many sheets there are and then puts them into a listbox for selection. I would like the macro to work on any spreadsheet regardless of how many sheets there are.
Currently i can only create a code like this when i know how many sheets there are.
Thanks
Nie