Word 2007-Pinning documents to most recent list



I've pinned several documents to my most recent documents list but they don't
always show. For example, I have about 5 documents that I have pinned and
I'm showing 20 new documents when I click the Office button in Word.

If I have worked recently with 25 or 30 documents, but not one of the 5 that
are pinned, then the most recent 20 show, and that list doesn't always
include the 5 that are pinned.

Do I have a setting wrong somewhere? Or is this a known issue?


Doug Robbins - Word MVP

If you are showing 20 documents in the list and you have worked with 20
documents other that the five since last working with them, then it is those
20 documents that will appear in the list.

If you use a macro to open documents and to save new documents, you can then
set the AddtoRecentFiles attribute to False. There is no way of doing that
via the user interface however.

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com

Peter T. Daniels

If 5 documents are pinned, then only her last 15 documents should be
in the list, above the pinned ones (unless the pinned ones have been
used more recently, in which case they're interspersed in the list).
That's how my list works.

Tony Jollans

As far as I know, there is no setting that controls this, nor is it a known
issue, although I have seen occasional reports of it.

A couple of (unlikely) possibilities spring to mind:

Do pinned documents drop off the list while you are working in Word, or do
they just not appear next time? If the latter case, you may have some
corporate setting overriding your wishes.

Are you running any AddIns that might interfere with the environment?

Lastly, you might have some corruption somewhere - possibly in the Word
Data key (although MRU documents are not stored there in Word 2007).

Graham Mayor

My guess is a minor corruption of the Word data key in the registry leading
to a miscounting of the displayed items. The list is stored at
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\File MRU

FWIW the following macro will clear the recent files list, leaving the
pinned items

Sub ClearUnpinned()
'Clear recent file list leaving the pinned items
Dim rFile As RecentFile
Dim WSHShell, RegKey, rKeyWord
Set WSHShell = CreateObject("WScript.Shell")
RegKey = "HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\File MRU\"
For Each rFile In RecentFiles
rKeyWord = WSHShell.RegRead(RegKey & "Item " & rFile.Index)
Select Case Mid(rKeyWord, 10, 1)
Case Is = 0, 2
End Select
Next rFile
MsgBox "Recent file list is cleared," & vbCr & _
"retaining the pinned items", _
vbInformation, _
"Clear Recent File List"
End Sub


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

My web site www.gmayor.com

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

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