Hello
I search for macro
the directory should be "C:\Users\RAMDANI\Desktop\INVOICES"
the INVOICES folder should contains folders names (SELLING , PURCHASING, RETURNS). theses folders names should contains folders months names JAN,FEB.... for each folder .
if the folders names (SELLING , PURCHASING, RETURNS) & folders months name JAN,FEB.... are not existed , then should create automatically
the months folders name depend on current month in pc .
when create folders or have already existed should match with sheets names (SELLING , PURCHASING, RETURNS) . so the main folders names will be the same sheets name when matching and export sheets as in PDF
each sheet contains the same range A: H start from row2 but should ignore empty rows even the range contains borders but is empty.
and when run the macro should replace files have already existed
note: when export the sheet depends on cell value E2 into REPORT sheet . the cell E2 will be sheet name and should match with sheet name should export it.
thanks
I search for macro
the directory should be "C:\Users\RAMDANI\Desktop\INVOICES"
the INVOICES folder should contains folders names (SELLING , PURCHASING, RETURNS). theses folders names should contains folders months names JAN,FEB.... for each folder .
if the folders names (SELLING , PURCHASING, RETURNS) & folders months name JAN,FEB.... are not existed , then should create automatically
the months folders name depend on current month in pc .
when create folders or have already existed should match with sheets names (SELLING , PURCHASING, RETURNS) . so the main folders names will be the same sheets name when matching and export sheets as in PDF
each sheet contains the same range A: H start from row2 but should ignore empty rows even the range contains borders but is empty.
and when run the macro should replace files have already existed
note: when export the sheet depends on cell value E2 into REPORT sheet . the cell E2 will be sheet name and should match with sheet name should export it.
thanks