![]() |
|
#1
|
|||
|
|||
![]()
Hi Jim,
I am a "novice" but I am wondering since you want to do basic file renaming, the best would be use a script shell (.bat on Windows) or server script (ASP/PHP/Python, etc.) depending where the files are located. For Visual Basic, please have a look at the Split() function. Split function (Visual Basic for Applications) | Microsoft Docs You can just split the string at the "-" delimiter and retrieve the last value of the array (you will have to remove the empty space of that last value) |
![]() |
Tags |
rename file, word vba code |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
SamDsouza | Word VBA | 4 | 01-06-2021 07:27 AM |
![]() |
sg11 | Word VBA | 4 | 03-22-2018 04:25 AM |
![]() |
shivy | Excel | 6 | 04-01-2017 10:15 AM |
![]() |
BobKnepper | Word | 2 | 05-22-2016 07:30 AM |
![]() |
aaronbauer1980 | Excel Programming | 1 | 04-15-2016 05:53 PM |