The sample workbook is attached.
When the workbook opens, the userform will automatically show.
Issue at this point: if other workbooks are open before opening the attached workbook, it is not able to do anything on other workbooks.
Close the userform, then reopen the userform by clicking the command button, now it is okay to do something on other workbooks.
WHY....?
Bookmarks