AndyDevine1
Board Regular
- Joined
- Jun 1, 2006
- Messages
- 172
hi there
I've receive multiple jpegs from a client each day, each of which I need to rename
Example of the file names I receive are:
UK_Name_Size1.jpeg
UK_Name_Size2.jpeg
UK_Name_Size3.jpeg
I need to do the following
1) Rename the Size part of the string to some alternative text (I was thinking of setting up a table on a separate sheet containing eg Size 1 in cell A1 and AdSize1 in B1, Size 2 in cell A2 and AdSize2 in B2 etc and then indexing against this
2) rename each file to include the new text plus additional information...in other words to turn....
UK_Name_Size1.jpeg into eg 30092014_ UK_Name_AdSize1.jpeg
UK_Name_Size2.jpeg into eg 30092014_ UK_Name_AdSize2.jpeg
UK_Name_Size3.jpeg into eg 30092014_ UK_Name_AdSize3.jpeg
The date could live in eg cell A1.
If you can supply the code to do this it would be very much appreciated
Hope Ive been clear
Many thanks for reading
Andy
I've receive multiple jpegs from a client each day, each of which I need to rename
Example of the file names I receive are:
UK_Name_Size1.jpeg
UK_Name_Size2.jpeg
UK_Name_Size3.jpeg
I need to do the following
1) Rename the Size part of the string to some alternative text (I was thinking of setting up a table on a separate sheet containing eg Size 1 in cell A1 and AdSize1 in B1, Size 2 in cell A2 and AdSize2 in B2 etc and then indexing against this
2) rename each file to include the new text plus additional information...in other words to turn....
UK_Name_Size1.jpeg into eg 30092014_ UK_Name_AdSize1.jpeg
UK_Name_Size2.jpeg into eg 30092014_ UK_Name_AdSize2.jpeg
UK_Name_Size3.jpeg into eg 30092014_ UK_Name_AdSize3.jpeg
The date could live in eg cell A1.
If you can supply the code to do this it would be very much appreciated
Hope Ive been clear
Many thanks for reading
Andy