Delete name of document under file

C

Crappiecat

I can delete a document but the name of that document
stays in the drop down list under file. How can I make it
go away.
 
P

Perry

Here's an example of some code deleting
a file from the recent file listing

With Application.RecentFiles
For x = .Count To 1 Step -1
If InStr(.Item(x), "Perry") Then
.Item(x).Delete
End If
Next
End With

Krgrds,
Perry
 
Top