zigaturkster
New Member
- Joined
- Mar 26, 2021
- Messages
- 1
- Office Version
- 365
- Platform
- Windows
I would like to upgrade an already answered question in a thread: Macro to populate cell and then print on loop
I want to upgrade in a way that in addition to increasing a number in a cell and printing to take a value from a cell and save it with the name in the cell and also to the same time define which printer to use (if possible), want to save it to PDF with excel default windows to pdf printer.
I have a file with a list of employees with their details regarding their days off (300 people) and I want to print for each employee a separate sheet where it is stated how much days off they have and save it as an individual pdf with their name. The employe data is in "Master" sheet and print is in "Form", the form is populated with vlookup from cell J1 in "Form" sheet and the name of how the PDF should be saved is in J2.
I have tried to write a macro but I need help.
The file is on drive link: Odločbe za dopust.xlsm
Thank you.
I want to upgrade in a way that in addition to increasing a number in a cell and printing to take a value from a cell and save it with the name in the cell and also to the same time define which printer to use (if possible), want to save it to PDF with excel default windows to pdf printer.
I have a file with a list of employees with their details regarding their days off (300 people) and I want to print for each employee a separate sheet where it is stated how much days off they have and save it as an individual pdf with their name. The employe data is in "Master" sheet and print is in "Form", the form is populated with vlookup from cell J1 in "Form" sheet and the name of how the PDF should be saved is in J2.
I have tried to write a macro but I need help.
The file is on drive link: Odločbe za dopust.xlsm
Thank you.