Hi Everyone,
I am creating an Excel workbook in which certain worksheets need to print to pdf. There are many worksheets in the workbook with the naming convention below:
DATA_<Worksheet Name 1>
PP_<Worksheet Name 1>
DATA_<Worksheet Name 2>
PP_<Worksheet Name 2>
.
.
.
DATA_<Worksheet Name n>
PP_<Worksheet Name n>
I am wondering if I can create a macro that goes through the list of worksheets, selects those that begin with "PP_", and prints those to pdf based on the print area for those respective worksheets. This way, even if I add more worksheets, I can have the macro pick them up for printing so long as their name starts with "PP_".
Thank you all very much in advance for any help you can provide.
Regards,
JH
I am creating an Excel workbook in which certain worksheets need to print to pdf. There are many worksheets in the workbook with the naming convention below:
DATA_<Worksheet Name 1>
PP_<Worksheet Name 1>
DATA_<Worksheet Name 2>
PP_<Worksheet Name 2>
.
.
.
DATA_<Worksheet Name n>
PP_<Worksheet Name n>
I am wondering if I can create a macro that goes through the list of worksheets, selects those that begin with "PP_", and prints those to pdf based on the print area for those respective worksheets. This way, even if I add more worksheets, I can have the macro pick them up for printing so long as their name starts with "PP_".
Thank you all very much in advance for any help you can provide.
Regards,
JH