Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Deleting workbook in Office EXCEL 2007

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Deleting workbook in Office EXCEL 2007

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Deleting workbook in Office EXCEL 2007

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Deleting workbook in Office EXCEL 2007

Visit www.ExcelGoodies.Com

---
frmsrcurl: http://msgroups.net/microsoft.public...ice-EXCEL-2007
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
unsharing excel workbook in office 2007 sunny Excel Discussion (Misc queries) 4 June 4th 09 08:50 PM
Office 2007 - protecting workbook JWhitehead Excel Discussion (Misc queries) 3 June 4th 09 08:26 PM
ACCESSING A SHARED EXCEL 2003 WORKBOOK ISSUES WITH OFFICE 2007 ahbaffledbyoffice Excel Discussion (Misc queries) 0 December 9th 08 03:07 PM
how to deploy an Excel workbook office 2007 project? Raj Excel Discussion (Misc queries) 0 October 31st 08 05:05 PM
Office 2007-How do I copy a worksheet from one workbook to another Millie Excel Worksheet Functions 1 October 11th 07 11:39 AM


All times are GMT +1. The time now is 12:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"