james potter
New Member
- Joined
- Aug 15, 2005
- Messages
- 45
I'm wondering if there is a way to automatically change multiples filenames is a certain directory with the help of cell values in excel.
I recieve multiple files from different sources and need them to change to a standard format. The sender is unable to do that for me.
I think of the following scenario. Button to import the finenames of a specified diretory in an excelsheet. Columns next to filename will be used to create the new filename, combonation of office number and date. I already create the code to import filenames in an excelsheet. So I only need a vba code that will lookup the filename presented in cell A2 and change it according to cell values presented in cell B2,B3 & B4. The ext part does not need to be changed. I'm using excel 2007.
Is this possible to do in excel/vba?
I recieve multiple files from different sources and need them to change to a standard format. The sender is unable to do that for me.
I think of the following scenario. Button to import the finenames of a specified diretory in an excelsheet. Columns next to filename will be used to create the new filename, combonation of office number and date. I already create the code to import filenames in an excelsheet. So I only need a vba code that will lookup the filename presented in cell A2 and change it according to cell values presented in cell B2,B3 & B4. The ext part does not need to be changed. I'm using excel 2007.
Is this possible to do in excel/vba?