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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top