Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Good evening ~ I have a problem that is driving me nuts. When I click on the
office button in EXCEL, all of my workbooks appear. There are 3 of the 10 I no longer use and don't need. I can delete the file thru Open, right ckick and "delete." However, the name of the file remains in my list when I click on the Office button. The file is gone but the name remains. How do I get rid of this??? Please help before I go crazy. Thank you. -- Jerry D |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you are talking of the recently-used file list, I don't believe that you
can remove individual files from that list. You can change the number of files on that list, so if you change it to zero they will all disappear and then you can put the number back to 10 and a new list will be started. -- David Biddulph "Jerry D" wrote in message ... Good evening ~ I have a problem that is driving me nuts. When I click on the office button in EXCEL, all of my workbooks appear. There are 3 of the 10 I no longer use and don't need. I can delete the file thru Open, right ckick and "delete." However, the name of the file remains in my list when I click on the Office button. The file is gone but the name remains. How do I get rid of this??? Please help before I go crazy. Thank you. -- Jerry D |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This works ok for me in xl2003--but I've never tested it in xl2007.
Option Explicit Sub testme() Dim iCtr As Long Dim MRUMax As Long Dim TestStr As String With Application.RecentFiles MRUMax = .Maximum For iCtr = .Count To 1 Step -1 TestStr = "" On Error Resume Next TestStr = Dir(.Item(iCtr).Path) On Error GoTo 0 If TestStr = "" Then .Item(iCtr).Delete End If Next iCtr .Maximum = MRUMax End With End Sub If you're new to macros: Debra Dalgleish has some notes how to implement macros he http://www.contextures.com/xlvba01.html David McRitchie has an intro to macros: http://www.mvps.org/dmcritchie/excel/getstarted.htm Ron de Bruin's intro to macros: http://www.rondebruin.nl/code.htm (General, Regular and Standard modules all describe the same thing.) Jerry D wrote: Good evening ~ I have a problem that is driving me nuts. When I click on the office button in EXCEL, all of my workbooks appear. There are 3 of the 10 I no longer use and don't need. I can delete the file thru Open, right ckick and "delete." However, the name of the file remains in my list when I click on the Office button. The file is gone but the name remains. How do I get rid of this??? Please help before I go crazy. Thank you. -- Jerry D -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
unsharing excel workbook in office 2007 | Excel Discussion (Misc queries) | |||
Office 2007 - protecting workbook | Excel Discussion (Misc queries) | |||
ACCESSING A SHARED EXCEL 2003 WORKBOOK ISSUES WITH OFFICE 2007 | Excel Discussion (Misc queries) | |||
how to deploy an Excel workbook office 2007 project? | Excel Discussion (Misc queries) | |||
Office 2007-How do I copy a worksheet from one workbook to another | Excel Worksheet Functions |