doriannjeshi
Active Member
- Joined
- Apr 5, 2015
- Messages
- 301
- Office Version
- 365
- Platform
- Windows
Hello,
I need to rename a couple of files in a folder with a macro that use variable and constants in their names:
2508202300 rpt_shijet_OH_SL_IT_st_30_d.xls
250820601 SL ON HAN PER U.xls
Basically I want to give them a constant name to be able to use them with another macro
to rename them without the numbers that get generated daily, result:
rpt_shijet_OH_SL_IT_st_30_d.xls
SL ON HAN PER U.xls
If the filenames are present what options do I have , can I delete the old files and replace them with new files ?
I need to rename a couple of files in a folder with a macro that use variable and constants in their names:
2508202300 rpt_shijet_OH_SL_IT_st_30_d.xls
250820601 SL ON HAN PER U.xls
Basically I want to give them a constant name to be able to use them with another macro
to rename them without the numbers that get generated daily, result:
rpt_shijet_OH_SL_IT_st_30_d.xls
SL ON HAN PER U.xls
If the filenames are present what options do I have , can I delete the old files and replace them with new files ?