save sheet for multiple PDF files based on each month

Mussa

Board Regular
Joined
Jul 12, 2021
Messages
240
Office Version
  1. 2019
  2. 2010
Hi
I have multiple sheets(DATA,SOURCE,OUT.....) contain data start from column (A) : column (K) , the date is in column A (DD/MM/YYYY) . what I want split sheet into multiple files as PDF based on month . but should create folder based on sheet name (DATA-2021,SOURCE-2022,OUT-2023)
folders names for years depends on data inside for each sheet
when save every file as PDF the data should relate the month for each folder .
should save file name JAN MONTH_2022 , FEB MONTH_2022 and so on up to finish year 2022 inside the folders and start again from new year 2023. and should replace the files inside the folders when run the macro every time .
I hope this clear
thanks
 
Last edited:

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,214,918
Messages
6,122,257
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top