I have a small userform that prompts the user to select an existing workbook to be used as output for a macro. I also need the user to specify which sheet in the output file will be used. Is there a way to display a list of the worksheets in a workbook without actually opening the workbook?
My macro is set up as such that the output file does not have to be selected each time. It stores the file and path names in cells on a worksheet. This info will be used every time, unless the user wants to select a new output file. Previously, I've just had the user directly modify the path name, file name, and sheet name directly in the respective cells, but I would like to make it more user-friendly.
My macro is set up as such that the output file does not have to be selected each time. It stores the file and path names in cells on a worksheet. This info will be used every time, unless the user wants to select a new output file. Previously, I've just had the user directly modify the path name, file name, and sheet name directly in the respective cells, but I would like to make it more user-friendly.