PC Review


Reply
Thread Tools Rate Thread

Add Item to Recenly-Open Files

 
 
MikeH2
Guest
Posts: n/a
 
      25th Jan 2008
I often use VBA to open files that stay in memory. I'd like to update the
recent-files list sometimes when I do this. How is that possible?
 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      25th Jan 2008
There's a parm you can specify in the workbooks.open command:

Dim w As Workbook
Set w = Workbooks.Open(Filename:="c:\something.xls", addtomru:=True)


MikeH2 wrote:
>
> I often use VBA to open files that stay in memory. I'd like to update the
> recent-files list sometimes when I do this. How is that possible?


--

Dave Peterson
 
Reply With Quote
 
Jim Cone
Guest
Posts: n/a
 
      25th Jan 2008

This post has code I use on my own system.
It also removes items from the recent files list that no longer exist...
http://tinyurl.com/2eumzt

and this has helpful posting tips...
http://www.cpearson.com/excel/newposte.htm
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"MikeH2"
wrote in message
I often use VBA to open files that stay in memory. I'd like to update the
recent-files list sometimes when I do this. How is that possible?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How do you clear 'recenly e-mailed' list Gary VanderMolen Windows Vista Mail 2 21st Sep 2009 08:28 PM
Re: How do you clear 'recenly e-mailed' list mac Windows Vista Mail 0 19th Sep 2009 09:37 AM
Recenly USed List not there =?Utf-8?B?UmVhbEdvbWVy?= Microsoft Word Document Management 1 4th Nov 2007 06:12 AM
can't open this item with password protected files Raimond van der Meer Microsoft Outlook 5 1st Sep 2004 04:04 PM
can't open this item with password protected files Raimond van der Meer Microsoft Outlook Discussion 1 1st Sep 2004 02:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:52 PM.