+ Reply to Thread
Results 1 to 14 of 14

"Recently Used File List"

Hybrid View

  1. #1
    phil6666
    Guest

    "Recently Used File List"


    Using Excel 2002...

    Is there any way to remove files from this list other than waiting for
    them to be replaced over time?

  2. #2
    Bob Phillips
    Guest

    Re: "Recently Used File List"

    You could remove then. Here is code showing how to get at it

    Dim i As Long
    For i = 0 To Application.RecentFiles.Count
    i = i + 1
    If Application.RecentFiles(i).Name = "ABC.xls" Then
    Application.RecentFiles(i).Delete
    End If
    Next i

    But don't forget, some items in the list will be just the file name, some
    will include the path

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "phil6666" <phil6666@adelphia.net> wrote in message
    news:nrkg31hals149ntgtvbloh19qc5i40c1em@4ax.com...
    >
    > Using Excel 2002...
    >
    > Is there any way to remove files from this list other than waiting for
    > them to be replaced over time?




  3. #3
    tina
    Guest

    RE: "Recently Used File List"

    Hi
    you can set recently viewed files to zero
    Tools options then general tab
    Tina
    "phil6666" wrote:

    >
    > Using Excel 2002...
    >
    > Is there any way to remove files from this list other than waiting for
    > them to be replaced over time?
    >


  4. #4
    Andy
    Guest

    Re: "Recently Used File List"

    > Using Excel 2002...
    >
    > Is there any way to remove files from this list other than waiting for
    > them to be replaced over time?
    >


    This one removes the first file (the second line puts the maximum back
    to 9 files, which seemed to be required if I deleted all the files in
    the list). Change the (1) if you want to delete other than the most
    recent file.

    Sub DelMRU()
    Application.RecentFiles(1).Delete
    Application.RecentFiles.Maximum = 9
    End Sub


    This one puts the current file back on the list.

    Sub AddCurFileToMRU()
    Application.RecentFiles.Add Name:=ActiveWorkbook.FullName
    End Sub


    I have a button for each on my toolbar.


  5. #5
    phil6666
    Guest

    Re: "Recently Used File List"


    This sounds like just what I need, but don't know how to add a button
    to the toolbar other than those that are already available with
    TOOLS>CUSTOMIZE.

    Could you point me in the right direction in MS Help?

    thnx

    On Fri, 18 Mar 2005 03:45:36 GMT, Andy <Andy@nospam.net> wrote:

    >> Using Excel 2002...
    >>
    >> Is there any way to remove files from this list other than waiting for
    >> them to be replaced over time?
    >>

    >
    >This one removes the first file (the second line puts the maximum back
    >to 9 files, which seemed to be required if I deleted all the files in
    >the list). Change the (1) if you want to delete other than the most
    >recent file.
    >
    > Sub DelMRU()
    > Application.RecentFiles(1).Delete
    > Application.RecentFiles.Maximum = 9
    > End Sub
    >
    >
    >This one puts the current file back on the list.
    >
    > Sub AddCurFileToMRU()
    > Application.RecentFiles.Add Name:=ActiveWorkbook.FullName
    > End Sub
    >
    >
    >I have a button for each on my toolbar.



  6. #6
    Andy
    Guest

    Re: "Recently Used File List"

    Tools>Customize>Commands>Macros

    Drag the Custom Button (yellow smiley face) to your toolbar, right
    click on it, assign macro (you have to have a worksheet open so the
    assign macro dialog box comes up). Right clicking on the button while
    the Tools>Customize dialog box is open will also give you some other
    options (like changing the smiley face).



  7. #7
    phil6666
    Guest

    Re: "Recently Used File List"


    I followed Excel "help" and copy/pasted exactly what you wrote & it
    works perfectly!!!

    Now, if I only had a minimal clue what macros really can do.......


    On Sat, 19 Mar 2005 04:58:47 GMT, Andy <Andy@nospam.net> wrote:

    >Tools>Customize>Commands>Macros
    >
    >Drag the Custom Button (yellow smiley face) to your toolbar, right
    >click on it, assign macro (you have to have a worksheet open so the
    >assign macro dialog box comes up). Right clicking on the button while
    >the Tools>Customize dialog box is open will also give you some other
    >options (like changing the smiley face).
    >



  8. #8
    Andy
    Guest

    Re: "Recently Used File List"

    Glad it worked.

    > Now, if I only had a minimal clue what macros really can do.......


    Almost anything. I've barely scratched the surface!




  9. #9
    phil6666
    Guest

    trusted root certification authorities store?


    OK....now Excel doesn't want me to use the macro because the digital
    signature that I wrote isn't in the trusted root certification
    authorities store.

    How do I do that???

    thnx


    On Fri, 01 Apr 2005 21:25:19 -0500, phil6666 <phil6666@adelphia.net>
    wrote:

    >
    >I followed Excel "help" and copy/pasted exactly what you wrote & it
    >works perfectly!!!
    >
    >Now, if I only had a minimal clue what macros really can do.......
    >
    >
    >On Sat, 19 Mar 2005 04:58:47 GMT, Andy <Andy@nospam.net> wrote:
    >
    >>Tools>Customize>Commands>Macros
    >>
    >>Drag the Custom Button (yellow smiley face) to your toolbar, right
    >>click on it, assign macro (you have to have a worksheet open so the
    >>assign macro dialog box comes up). Right clicking on the button while
    >>the Tools>Customize dialog box is open will also give you some other
    >>options (like changing the smiley face).
    >>



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1