PC Review


Reply
Thread Tools Rate Thread

Copy History (recently opened) to Cells

 
 
Gary''s Student
Guest
Posts: n/a
 
      9th Sep 2008
If I pull-down File from the menu bar, I can select from a short list of
recently opened workbooks to open.

The list represents a kind of history of recent usage of Excel. How can I
copy this list to a column in the worksheet?

For example, this list might show:

C:\test\shell.xls
C:\Temp\todo.xls

I would like A1 to contain the text:
C:\test\shell.xls

A2 to contain the text:
C:\Temp\todo.xls

etc.

Thanks in advance for any suggestions
--
Gary''s Student - gsnu2007xx
 
Reply With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      9th Sep 2008
Sub GetRecentfiles()

For i = 1 To Application.RecentFiles.Count
MsgBox (Application.RecentFiles.Item(i).Name)

Next i
End Sub


"Gary''s Student" wrote:

> If I pull-down File from the menu bar, I can select from a short list of
> recently opened workbooks to open.
>
> The list represents a kind of history of recent usage of Excel. How can I
> copy this list to a column in the worksheet?
>
> For example, this list might show:
>
> C:\test\shell.xls
> C:\Temp\todo.xls
>
> I would like A1 to contain the text:
> C:\test\shell.xls
>
> A2 to contain the text:
> C:\Temp\todo.xls
>
> etc.
>
> Thanks in advance for any suggestions
> --
> Gary''s Student - gsnu2007xx

 
Reply With Quote
 
Gary''''s Student
Guest
Posts: n/a
 
      9th Sep 2008
Thanks!
--
Gary''''s Student - gsnu200803


"Joel" wrote:

> Sub GetRecentfiles()
>
> For i = 1 To Application.RecentFiles.Count
> MsgBox (Application.RecentFiles.Item(i).Name)
>
> Next i
> End Sub
>
>
> "Gary''s Student" wrote:
>
> > If I pull-down File from the menu bar, I can select from a short list of
> > recently opened workbooks to open.
> >
> > The list represents a kind of history of recent usage of Excel. How can I
> > copy this list to a column in the worksheet?
> >
> > For example, this list might show:
> >
> > C:\test\shell.xls
> > C:\Temp\todo.xls
> >
> > I would like A1 to contain the text:
> > C:\test\shell.xls
> >
> > A2 to contain the text:
> > C:\Temp\todo.xls
> >
> > etc.
> >
> > Thanks in advance for any suggestions
> > --
> > Gary''s Student - gsnu2007xx

 
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
Recently opened documents papa Windows XP General 4 8th Feb 2009 02:51 AM
Recently Opened Programs Bug Robert Windows Vista General Discussion 0 26th Nov 2007 10:41 AM
How do I see all the documents I've opened recently? =?Utf-8?B?QWlsZWE=?= Microsoft Word Document Management 2 16th Oct 2007 09:10 AM
Copy cells from xls file opened in browser escorido Microsoft Excel Programming 0 6th Jul 2004 04:04 AM
Recently Opened Projects Bill Szerdy Microsoft Dot NET 1 4th Dec 2003 10:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:21 AM.