Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 11-20-2014, 10:43 PM
macropod's Avatar
macropod macropod is offline Is there a solution to change the recentfilelist programmatically Windows 7 64bit Is there a solution to change the recentfilelist programmatically Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

All you can do through the GUI in such situations is to delete the files from the recent files list. That list is maintained in the Windows Registry and, while it's possible to edit the Registry entries programmatically, you could do serious damage to your OS if you get it wrong.

charlesdh: I can't see how your macro is at all relevant to the OP's problem, since it: (a) pre-supposes the file has been opened; and (b) that you know you want to save it to the hard-coded folder. Adding such code to every workbook, especially with hard-coded paths that may be invalidated (e.g. what do you suppose will happen if the path isn't found or the user wants to save the file to a USB drive?) is likely to create a greater problem than it will save. Furthermore, you can't specify a filename with the Save method, so your code wouldn't work anyway.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a solution to change the recentfilelist programmatically Creating Event Handlers Programmatically pluviosilla Word VBA 4 11-06-2014 05:36 PM
Is there a solution to change the recentfilelist programmatically Adding macro to normal.dotm programmatically etippelt Word VBA 6 04-08-2013 05:55 PM
Programmatically convert Office documents to PDF from C# hemaneelagiri Office 0 10-21-2011 06:07 AM
outlook programmatically read an attachment into byte array chriskaza81 Outlook 0 11-19-2010 01:03 AM
Programmatically changing folder item selection Richard Cook Outlook 0 02-09-2007 02:25 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:25 AM.


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