Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
List recent documents on Word screen
Using Microsoft Word 2002, and I am wondering if there is a way to list
recent Word documents on the screen (like is done in EXCEL) without having to go to the "File" menu pulldown. |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
List recent documents on Word screen
Hi ?B?VGVjaHNhc0Rhd2c=?=,
Using Microsoft Word 2002, and I am wondering if there is a way to list recent Word documents on the screen (like is done in EXCEL) without having to go to the "File" menu pulldown. I'm not familiar with this particular feature in Excel, but no: there is no way built into Word to "print" the list of recently used documents in the Word document. It's possible to use a macro to "walk" the entries in the File menu. The following bit of code works for me Sub ListMRU() Dim MRUEnd As Long Dim MRUcounter As Long Dim commandText As String Dim cb As Office.CommandBar Set cb = CommandBars("Menu Bar").Controls("File").CommandBar MRUEnd = cb.Controls.Count - 2 For MRUcounter = MRUEnd To MRUEnd - 8 Step -1 commandText = (cb.Controls(MRUcounter).Caption & vbCr) If Left(commandText, 1) = "&" And IsNumeric(Mid(commandText, 2, 1)) Then Selection.TypeText commandText End If Next End Sub Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Word should catalog misspelled words to study. | Microsoft Word Help | |||
Reveal codes in a word document | Microsoft Word Help | |||
Word & WordPerfect | Microsoft Word Help | |||
hard space between words. | Microsoft Word Help | |||
Macros - Keyboard Commands | Microsoft Word Help |