Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-21-2018, 06:53 PM
Guessed's Avatar
Guessed Guessed is offline Using Word VBA to change file names in a directory Windows 10 Using Word VBA to change file names in a directory Office 2013
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

You forgot to include an as between the oldfile and newfile
Code:
Name oldFile As NewFile
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Word VBA to change file names in a directory Extracting list of embedded image file names from Word 2016 erik@haagensen.no Word VBA 5 08-19-2017 11:02 PM
Using Word VBA to change file names in a directory How capture a folder's file names to a file? BobKnepper Word 2 05-22-2016 07:30 AM
Using Word VBA to change file names in a directory Copy and Paste from File to File but File Names always change aaronbauer1980 Excel Programming 1 04-15-2016 05:53 PM
Using Word VBA to change file names in a directory Replacing jpg file in each file of a directory hklein Word VBA 4 10-14-2013 04:40 PM
Using Word VBA to change file names in a directory Change order of names to LAST / FIRST ? Jack R Outlook 1 07-05-2010 08:50 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:20 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft