hi experts
I have two sheets the first is INV contains source data and the second should create based on current year is "2021 "
so I want save sheet INV as pdf to this directory "D:\process\inventory\2021" the folder 2021 contains many subfolders JAN,FEB .. up to DEC then should save the file as pdf to subfolder based on current month for instance current month is MAY then should save file in subfolder name's MAY and I would create a new sheet name's 2021 based on current year and when save file should copy the name file in sheet 2021 under the month relating of it as in topic header based on current month and add hyperlink to open the file
note : the file name should like this the text "INVENTORY OIL OF DATE " & DATE(today) then should like this "INVENTORY OIL OF DATE 05/22/2021 .PDF" and when finish this year 2021 should create a new year based on current year 2022 and so on
if it's not clear please tell me
thanks in advance
I have two sheets the first is INV contains source data and the second should create based on current year is "2021 "
so I want save sheet INV as pdf to this directory "D:\process\inventory\2021" the folder 2021 contains many subfolders JAN,FEB .. up to DEC then should save the file as pdf to subfolder based on current month for instance current month is MAY then should save file in subfolder name's MAY and I would create a new sheet name's 2021 based on current year and when save file should copy the name file in sheet 2021 under the month relating of it as in topic header based on current month and add hyperlink to open the file
note : the file name should like this the text "INVENTORY OIL OF DATE " & DATE(today) then should like this "INVENTORY OIL OF DATE 05/22/2021 .PDF" and when finish this year 2021 should create a new year based on current year 2022 and so on
MONTHS.xlsm | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | ITEM | BRAND | TYPE | MONAFACTURE | Q1 | ||
2 | 1 | 10W40 12x1L | CAS | SU | 567 | ||
3 | 2 | 10W40 12x1L | ENI | IT | 54 | ||
4 | 3 | 10W40 12x1L | Q8 | EU | 1234 | ||
5 | 4 | 10W40 208L | CAS | SU | 234 | ||
6 | 5 | 10W40 208L | ENI | IT | 123 | ||
7 | 6 | 10W40 208L | Q8 | EU | 132 | ||
8 | 7 | 10W40 4x4L | CAS | SU | 45 | ||
9 | 8 | 10W40 4x4L | ENI | IT | 67 | ||
10 | 9 | 10W40 4x4L | Q8 | EU | 123 | ||
11 | 10 | 20W50 4x4L | CAS | SU | 87 | ||
12 | 11 | 20W50 4x4L | ENI | IT | 98 | ||
INV1 |
if it's not clear please tell me
thanks in advance
Last edited by a moderator: