View Single Post
 
Old 12-02-2014, 08:31 AM
dherr dherr is offline Windows 8 Office 2007
Advanced Beginner
 
Join Date: Nov 2014
Location: Austria
Posts: 45
dherr is on a distinguished road
Default Little Solution...

Hi all,
I have a little bit programmed in VBA and created a UserForm with some code.
Unfortunately this solution you can use in Excel2007 only. When I tried it in Word2007 an unintelligible fact appeared. In Word and Excel we have the same RecentFileList to work with, but in Word-VBA you don't have all properties for this object at hand. What did Microsoft think in that case? I really don't know... In Powerpoint you have the same RecentFilesList too, but there is no programming to this object possible.
All you can say to this facts is
I have attached the UserForm file and you can import it into Excel. The code has some comments in German and I tried to translate them...
The solution is working fine by me. You have to mark the new drive where your files now are 'positioned'. Then mark these same files where you want to change the 'old' drive name into the 'new' drivename. Then push 'ausführen'-Button. At the end you have a new RecentFilesList which works with the new items.

Greetings-
Dietrich
Attached Files
File Type: zip RecentFilesChanging.zip (1.5 KB, 10 views)
Reply With Quote