How do I delete an infected document located in the Office Button

I

Isty

I have Microsoft Home and Student 2007 in my computer. When I press the
Office Button a list of recent documents appears. However, there is one
document which will not open nor can I delete the document. When I attempt
to open the said document, a message appears stating that the file is
infected and that my antivirus program (Norton) should handle it. Norton is
up to date. This infected file is not located anywhere on my hard drive but
rather seems to be isolated within the Office Button under the heading of
Recent Documents. How do I remove the infected file from the list of recent
documents in the Office Button?
 
G

Graham Mayor

This is only a link and not the file. The list is stored in the registry at
HKEY_CURRENT_USER\Software\Microsoft\Office\12\Word\FileMRU, from where you
can delete individual entries
or
You can use the following macro which will reset the list to your preset
preferred number of displayed documents:

Sub ClearMRU
Application.DisplayRecentFiles = True
listsize = RecentFiles.Maximum
RecentFiles.Maximum = 0
RecentFiles.Maximum = listsize
End Sub

See http://www.gmayor.com/installing_macro.htm
or to edit the list see
http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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