Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2008

Tip: Looking for answers? Try searching our database.

Add Item to Recenly-Open Files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MikeH2 - 25 Jan 2008 15:37 GMT
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 - 25 Jan 2008 16:01 GMT
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)

> 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?

Signature

Dave Peterson

Jim Cone - 25 Jan 2008 16:19 GMT
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
Signature

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?

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.