Good morning All.
First time poster, but have used the forum and associated code more time then I care to admit!
Unfortunately, I have not been able to find/modify code to achieve what I want to do.
I have workbook that has a number of sheets (for this example, they are named Item1 to Item8). I also have a Summary sheet.
On this summary sheet, there are four list that I populate using data validation drop down lists. These values are named the same as the various worksheets.
What I am trying to achieve is a single button click, that will take the range of cells above it on the Summary page (Eg. for List1 it would be B2:D16, List2 would be F2:H16 etc etc) convert it to a PDF, but also PDF the sheet that is listed in the "item field", nothing that these items change between lists. This one PDF would then be attached to an email to be sent off to HQ.
For Example, when I click the Submit button at the bottom of "list1" on the summary page
I hope this makes sense, and someone is able to help me out.
Thanks.
First time poster, but have used the forum and associated code more time then I care to admit!
Unfortunately, I have not been able to find/modify code to achieve what I want to do.
I have workbook that has a number of sheets (for this example, they are named Item1 to Item8). I also have a Summary sheet.
On this summary sheet, there are four list that I populate using data validation drop down lists. These values are named the same as the various worksheets.
What I am trying to achieve is a single button click, that will take the range of cells above it on the Summary page (Eg. for List1 it would be B2:D16, List2 would be F2:H16 etc etc) convert it to a PDF, but also PDF the sheet that is listed in the "item field", nothing that these items change between lists. This one PDF would then be attached to an email to be sent off to HQ.
For Example, when I click the Submit button at the bottom of "list1" on the summary page
- Summary B2:D16 is made into page 1 of a PDF
- The print area of Sheet "Item2" is made into page 2 of the PDF
- The print area of Sheet "Item3" is made into page 3 of the PDF
- If there were more items listed, the would form subsequent pages.
- The entire PDF is then emailed.
I hope this makes sense, and someone is able to help me out.
Thanks.
Example 1.xlsx | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | |||
1 | |||||||||||||||||||
2 | List 1 | List 2 | List 3 | List 4 | |||||||||||||||
3 | Item | Field1 | Field 2 | Item | Field1 | Field 2 | Item | Field1 | Field 2 | Item | Field1 | Field 2 | |||||||
4 | Item2 | Item1 | Item4 | Item8 | |||||||||||||||
5 | Item3 | Item5 | Item7 | ||||||||||||||||
6 | Item6 | ||||||||||||||||||
7 | |||||||||||||||||||
8 | |||||||||||||||||||
9 | |||||||||||||||||||
10 | |||||||||||||||||||
11 | |||||||||||||||||||
12 | |||||||||||||||||||
13 | |||||||||||||||||||
14 | |||||||||||||||||||
15 | |||||||||||||||||||
16 | |||||||||||||||||||
17 | |||||||||||||||||||
18 | |||||||||||||||||||
19 | |||||||||||||||||||
20 | |||||||||||||||||||
Summary |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
B4:B16 | List | =data!$A$2:$A$9 |
F4:F16 | List | =data!$A$2:$A$9 |
J4:J16 | List | =data!$A$2:$A$9 |
N4:N16 | List | =data!$A$2:$A$9 |