View Single Post
  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Files Save As option

M.I. Tabassum wrote:
Hi,
Mr. Robbins have mentioned about the Most Recently Used documents
int he File Menu, whereas I asked about the recently saved documents
in the Dialogue box that appears after you click File Save As and if
you seen infront of the File Name the text box contain one default
name with the drop down arrow on the right side and if you click that
arrow it drops down to lot of previously saved documents, I want to
clear that actually. Anyway Thanks Mr. Robbin.


There is no method for clearing that list from within Word's user interface.
However, because this list is stored at a specific place in the registry,
it's possible to use a macro such as the following one to clear it. Read
http://www.gmayor.com/installing_macro.htm if needed.

Sub ClearSaveAsMRU()
Const baseKey = "HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\ " & _
"Common\Open Find\Microsoft Office Word\Settings\Save As\File Name
MRU"
Dim thisVer As String
Dim thisVerKey As String

thisVer = Application.Version
thisVerKey = Replace(baseKey, "11.0", thisVer)

System.PrivateProfileString("", thisVerKey, "Value") = ""
End Sub

You can assign the macro to a toolbar button (or a Quick Access Toolbar
button in Word 2007).

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.