jb
Member
Hello Helpers,
I have an excel file which contains 3 sheets - list, duty_list and individual_duty.
list sheet contains serial no., code and name of employees. (column A, B and C).
This sheet contains a button - Generate slips.
This sheet contains a table F3 to I9. It contains code of employees who are going to be assigned some duties.
When the duty list will be generated, one page will have 4 employee duty list (in order to save pages). Thats why 4 codes are written in 1 line of table F3-I9.
There are 7 lines in this table because 26 employees are given duties.
duty_list sheet contains duties given to all the employees. Note that duties are given in 2 slots on some days and in 1 slot on some days.
individual_duty sheet contains format of duty list sheets to be generated.
When Generate slips button will be pressed from list sheet, it must generate a pdf which will contain 7 pages and total 26 slips (4 in one page).
And the individual slip should contain right tick mark symbol in the respective cell against a particular date and morning/afternoon slot whenever the employee is given duty. This part is done and you can see it in individual duty sheet.
When you press the generate slip button, it is generating 7 separate pdf.
My requirement is:
1. I want to generate single pdf.
2. If possible, last page is displaying error for last 2 duty sheets (because 26 employees gives 6 full page and last page only 2 sheets)
3. Can we avoid F3-I9 table because it is required to be typed manually.
I have an excel file which contains 3 sheets - list, duty_list and individual_duty.
list sheet contains serial no., code and name of employees. (column A, B and C).
This sheet contains a button - Generate slips.
This sheet contains a table F3 to I9. It contains code of employees who are going to be assigned some duties.
When the duty list will be generated, one page will have 4 employee duty list (in order to save pages). Thats why 4 codes are written in 1 line of table F3-I9.
There are 7 lines in this table because 26 employees are given duties.
duty_list sheet contains duties given to all the employees. Note that duties are given in 2 slots on some days and in 1 slot on some days.
individual_duty sheet contains format of duty list sheets to be generated.
When Generate slips button will be pressed from list sheet, it must generate a pdf which will contain 7 pages and total 26 slips (4 in one page).
And the individual slip should contain right tick mark symbol in the respective cell against a particular date and morning/afternoon slot whenever the employee is given duty. This part is done and you can see it in individual duty sheet.
When you press the generate slip button, it is generating 7 separate pdf.
My requirement is:
1. I want to generate single pdf.
2. If possible, last page is displaying error for last 2 duty sheets (because 26 employees gives 6 full page and last page only 2 sheets)
3. Can we avoid F3-I9 table because it is required to be typed manually.