View Single Post
 
Old 03-21-2018, 10:54 AM
sg11 sg11 is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Mar 2018
Posts: 5
sg11 is on a distinguished road
Default Using Word VBA to change file names in a directory

I am trying to use
Name oldFile NewFile
But it fails because the Name is Identified as a String Variable with the value "Microsoft Office". This is not a variable that I entered, could not find where this was declared. Unable to change. It is constant.
Did not find any other way to rename files.
Help..?

Last edited by sg11; 03-22-2018 at 04:27 AM. Reason: Solved
Reply With Quote