I have a template that I need to add the ability to run code (print, format, etc..) only if the sheets are selected. Several sheets will be selected simultaneously, and I want the code to run only on those sheets.
Most of the solutions I have seen require you to know the name of the sheets. In this template, sheet names are always changing. Also, the number of sheets changes. Sometimes we have a workbook with 3 sheets, sometimes with 100+.
Thanks in advance for the help!
Bookmarks