Hello. I need help coding to zip files with same prefix in name.
Every day, I receive 200 files like these in 1 folder:
I manually look for files with the same prefix, zip them together and delete the original .PDF files afterwards.
Is it possible to automatically do this process using VBA? Many thanks!
Every day, I receive 200 files like these in 1 folder:
1111111111_1321435435_HD_SL.pdf
1111111111_1321435436_HD_SL.pdf
1111111111_1321435437_HD_SL.pdf
2222222222_2542875575_HD_SL.pdf
2222222222_2542875576_HD_SL.pdf
I manually look for files with the same prefix, zip them together and delete the original .PDF files afterwards.
For example:
1111111111_1321435435_HD_SL.pdf
1111111111_1321435436_HD_SL.pdf
1111111111_1321435437_HD_SL.pdf
will go to 1111111111.zip
Is it possible to automatically do this process using VBA? Many thanks!