ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,832
- Office Version
- 2007
- Platform
- Windows
Hi,
Not sure if this will work but thought I would ask.
I have several pdf files which I need to rename.
The name of each pdf is saved in the format like so.
Name, ref number, date.
Example.
JOHN SMITH ABC123 24-10-23.pdf
I am needing to rename file to
JOHN SMITH 24-10-23 ABC123.pdf
Basically just swap ref number & date around.
Not sure how this would work but could a code be run so excel would say import the pdf.
Look at the file name & then put each reference in a specific cell.
Example
Cell Z1 = Name JOHN SMITH
Cell Z2 = ref number ABC123
Cell Z3 = date 24-10-2023
Code would then save as pdf taking the cell ref values for the saved name of file.
So Z1 Z3 Z2
Output would then be,
JOHN SMITH
24-10-2023
ABC123.pdf
Not sure if this will work but thought I would ask.
I have several pdf files which I need to rename.
The name of each pdf is saved in the format like so.
Name, ref number, date.
Example.
JOHN SMITH ABC123 24-10-23.pdf
I am needing to rename file to
JOHN SMITH 24-10-23 ABC123.pdf
Basically just swap ref number & date around.
Not sure how this would work but could a code be run so excel would say import the pdf.
Look at the file name & then put each reference in a specific cell.
Example
Cell Z1 = Name JOHN SMITH
Cell Z2 = ref number ABC123
Cell Z3 = date 24-10-2023
Code would then save as pdf taking the cell ref values for the saved name of file.
So Z1 Z3 Z2
Output would then be,
JOHN SMITH
24-10-2023
ABC123.pdf