Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Selectively clear recent document list
I use a macro to clear the recent documents list in Word 2007 as follows:
Sub ClearMRU() ' Clears the list of most recently used documents Dim ListSize Application.DisplayRecentFiles = True ListSize = Application.RecentFiles.Maximum Application.RecentFiles.Maximum = 0 Application.RecentFiles.Maximum = ListSize End Sub However, what I would really like to do is only clear the list of documents that have not been "pinned". Does anyone know a way of clearing the list but leaving the "pinned" ones on the list? Many thanks, Geoff |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Selectively clear recent document list
I don't believe it is possible without reading the registry.
-- Enjoy, Tony www.WordArticles.com "Geoff Budd" wrote in message ... I use a macro to clear the recent documents list in Word 2007 as follows: Sub ClearMRU() ' Clears the list of most recently used documents Dim ListSize Application.DisplayRecentFiles = True ListSize = Application.RecentFiles.Maximum Application.RecentFiles.Maximum = 0 Application.RecentFiles.Maximum = ListSize End Sub However, what I would really like to do is only clear the list of documents that have not been "pinned". Does anyone know a way of clearing the list but leaving the "pinned" ones on the list? Many thanks, Geoff |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Selectively clear recent document list
Doesn't Greg have a macro that does this?
-- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message ... I don't believe it is possible without reading the registry. -- Enjoy, Tony www.WordArticles.com "Geoff Budd" wrote in message ... I use a macro to clear the recent documents list in Word 2007 as follows: Sub ClearMRU() ' Clears the list of most recently used documents Dim ListSize Application.DisplayRecentFiles = True ListSize = Application.RecentFiles.Maximum Application.RecentFiles.Maximum = 0 Application.RecentFiles.Maximum = ListSize End Sub However, what I would really like to do is only clear the list of documents that have not been "pinned". Does anyone know a way of clearing the list but leaving the "pinned" ones on the list? Many thanks, Geoff |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Selectively clear recent document list
Yes, http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm.
-- Jay On Tue, 29 Sep 2009 18:32:07 -0500, "Suzanne S. Barnhill" wrote: Doesn't Greg have a macro that does this? -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message ... I don't believe it is possible without reading the registry. -- Enjoy, Tony www.WordArticles.com "Geoff Budd" wrote in message ... I use a macro to clear the recent documents list in Word 2007 as follows: Sub ClearMRU() ' Clears the list of most recently used documents Dim ListSize Application.DisplayRecentFiles = True ListSize = Application.RecentFiles.Maximum Application.RecentFiles.Maximum = 0 Application.RecentFiles.Maximum = ListSize End Sub However, what I would really like to do is only clear the list of documents that have not been "pinned". Does anyone know a way of clearing the list but leaving the "pinned" ones on the list? Many thanks, Geoff |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Selectively clear recent document list
That neither shows the 'pin' status of an entry, nor allows its use as a
selection criterion, because, AFAIK, the Obect Model does not provide the information. I stand by what I first said that this can not be done without digging in the registry. -- Enjoy, Tony www.WordArticles.com "Jay Freedman" wrote in message ... Yes, http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm. -- Jay On Tue, 29 Sep 2009 18:32:07 -0500, "Suzanne S. Barnhill" wrote: Doesn't Greg have a macro that does this? -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message ... I don't believe it is possible without reading the registry. -- Enjoy, Tony www.WordArticles.com "Geoff Budd" wrote in message ... I use a macro to clear the recent documents list in Word 2007 as follows: Sub ClearMRU() ' Clears the list of most recently used documents Dim ListSize Application.DisplayRecentFiles = True ListSize = Application.RecentFiles.Maximum Application.RecentFiles.Maximum = 0 Application.RecentFiles.Maximum = ListSize End Sub However, what I would really like to do is only clear the list of documents that have not been "pinned". Does anyone know a way of clearing the list but leaving the "pinned" ones on the list? Many thanks, Geoff |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Selectively clear recent document list
There's something about pinning, though--perhaps that when you reset to zero
and then restore to a positive number the pinned ones come back? -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message ... That neither shows the 'pin' status of an entry, nor allows its use as a selection criterion, because, AFAIK, the Obect Model does not provide the information. I stand by what I first said that this can not be done without digging in the registry. -- Enjoy, Tony www.WordArticles.com "Jay Freedman" wrote in message ... Yes, http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm. -- Jay On Tue, 29 Sep 2009 18:32:07 -0500, "Suzanne S. Barnhill" wrote: Doesn't Greg have a macro that does this? -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message ... I don't believe it is possible without reading the registry. -- Enjoy, Tony www.WordArticles.com "Geoff Budd" wrote in message ... I use a macro to clear the recent documents list in Word 2007 as follows: Sub ClearMRU() ' Clears the list of most recently used documents Dim ListSize Application.DisplayRecentFiles = True ListSize = Application.RecentFiles.Maximum Application.RecentFiles.Maximum = 0 Application.RecentFiles.Maximum = ListSize End Sub However, what I would really like to do is only clear the list of documents that have not been "pinned". Does anyone know a way of clearing the list but leaving the "pinned" ones on the list? Many thanks, Geoff |
#7
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Selectively clear recent document list
I don't know of anything, except that I think they get a sort of priority
when you reduce the size of the list to anything other than zero - but doing this does not cause the registry to be cleared so if you increase the size of the list again, it just brings back all the ones you had before. I don't think it would be enormously difficult to add some sort of feature to Greg's macro but I don't have time at the moment and I suspect Greg - game though I'm sure he'd be - would need some help to pull the flags out of the registry. -- Enjoy, Tony www.WordArticles.com "Suzanne S. Barnhill" wrote in message ... There's something about pinning, though--perhaps that when you reset to zero and then restore to a positive number the pinned ones come back? -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message ... That neither shows the 'pin' status of an entry, nor allows its use as a selection criterion, because, AFAIK, the Obect Model does not provide the information. I stand by what I first said that this can not be done without digging in the registry. -- Enjoy, Tony www.WordArticles.com "Jay Freedman" wrote in message ... Yes, http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm. -- Jay On Tue, 29 Sep 2009 18:32:07 -0500, "Suzanne S. Barnhill" wrote: Doesn't Greg have a macro that does this? -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message .. . I don't believe it is possible without reading the registry. -- Enjoy, Tony www.WordArticles.com "Geoff Budd" wrote in message ... I use a macro to clear the recent documents list in Word 2007 as follows: Sub ClearMRU() ' Clears the list of most recently used documents Dim ListSize Application.DisplayRecentFiles = True ListSize = Application.RecentFiles.Maximum Application.RecentFiles.Maximum = 0 Application.RecentFiles.Maximum = ListSize End Sub However, what I would really like to do is only clear the list of documents that have not been "pinned". Does anyone know a way of clearing the list but leaving the "pinned" ones on the list? Many thanks, Geoff |
#8
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Selectively clear recent document list
It appears from another thread that Graham has already done this and is
adding it to his Web site, but Jay hints that this won't be necessary in Word 2010. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message ... I don't know of anything, except that I think they get a sort of priority when you reduce the size of the list to anything other than zero - but doing this does not cause the registry to be cleared so if you increase the size of the list again, it just brings back all the ones you had before. I don't think it would be enormously difficult to add some sort of feature to Greg's macro but I don't have time at the moment and I suspect Greg - game though I'm sure he'd be - would need some help to pull the flags out of the registry. -- Enjoy, Tony www.WordArticles.com "Suzanne S. Barnhill" wrote in message ... There's something about pinning, though--perhaps that when you reset to zero and then restore to a positive number the pinned ones come back? -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message ... That neither shows the 'pin' status of an entry, nor allows its use as a selection criterion, because, AFAIK, the Obect Model does not provide the information. I stand by what I first said that this can not be done without digging in the registry. -- Enjoy, Tony www.WordArticles.com "Jay Freedman" wrote in message ... Yes, http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm. -- Jay On Tue, 29 Sep 2009 18:32:07 -0500, "Suzanne S. Barnhill" wrote: Doesn't Greg have a macro that does this? -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message . .. I don't believe it is possible without reading the registry. -- Enjoy, Tony www.WordArticles.com "Geoff Budd" wrote in message ... I use a macro to clear the recent documents list in Word 2007 as follows: Sub ClearMRU() ' Clears the list of most recently used documents Dim ListSize Application.DisplayRecentFiles = True ListSize = Application.RecentFiles.Maximum Application.RecentFiles.Maximum = 0 Application.RecentFiles.Maximum = ListSize End Sub However, what I would really like to do is only clear the list of documents that have not been "pinned". Does anyone know a way of clearing the list but leaving the "pinned" ones on the list? Many thanks, Geoff |
#9
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Selectively clear recent document list
yes he has already written a macro for this:
http://www.gmayor.com/clear_recently_used_file_list.htm Matthew "Suzanne S. Barnhill" wrote in message ... It appears from another thread that Graham has already done this and is adding it to his Web site, but Jay hints that this won't be necessary in Word 2010. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message ... I don't know of anything, except that I think they get a sort of priority when you reduce the size of the list to anything other than zero - but doing this does not cause the registry to be cleared so if you increase the size of the list again, it just brings back all the ones you had before. I don't think it would be enormously difficult to add some sort of feature to Greg's macro but I don't have time at the moment and I suspect Greg - game though I'm sure he'd be - would need some help to pull the flags out of the registry. -- Enjoy, Tony www.WordArticles.com "Suzanne S. Barnhill" wrote in message ... There's something about pinning, though--perhaps that when you reset to zero and then restore to a positive number the pinned ones come back? -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message ... That neither shows the 'pin' status of an entry, nor allows its use as a selection criterion, because, AFAIK, the Obect Model does not provide the information. I stand by what I first said that this can not be done without digging in the registry. -- Enjoy, Tony www.WordArticles.com "Jay Freedman" wrote in message ... Yes, http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm. -- Jay On Tue, 29 Sep 2009 18:32:07 -0500, "Suzanne S. Barnhill" wrote: Doesn't Greg have a macro that does this? -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message .. . I don't believe it is possible without reading the registry. -- Enjoy, Tony www.WordArticles.com "Geoff Budd" wrote in message ... I use a macro to clear the recent documents list in Word 2007 as follows: Sub ClearMRU() ' Clears the list of most recently used documents Dim ListSize Application.DisplayRecentFiles = True ListSize = Application.RecentFiles.Maximum Application.RecentFiles.Maximum = 0 Application.RecentFiles.Maximum = ListSize End Sub However, what I would really like to do is only clear the list of documents that have not been "pinned". Does anyone know a way of clearing the list but leaving the "pinned" ones on the list? Many thanks, Geoff |
#10
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Selectively clear recent document list
Thank you Suzanne. I'm just re-installing Word 2010 and will then have a
look at the changes there. -- Enjoy, Tony www.WordArticles.com "Suzanne S. Barnhill" wrote in message ... It appears from another thread that Graham has already done this and is adding it to his Web site, but Jay hints that this won't be necessary in Word 2010. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message ... I don't know of anything, except that I think they get a sort of priority when you reduce the size of the list to anything other than zero - but doing this does not cause the registry to be cleared so if you increase the size of the list again, it just brings back all the ones you had before. I don't think it would be enormously difficult to add some sort of feature to Greg's macro but I don't have time at the moment and I suspect Greg - game though I'm sure he'd be - would need some help to pull the flags out of the registry. -- Enjoy, Tony www.WordArticles.com "Suzanne S. Barnhill" wrote in message ... There's something about pinning, though--perhaps that when you reset to zero and then restore to a positive number the pinned ones come back? -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message ... That neither shows the 'pin' status of an entry, nor allows its use as a selection criterion, because, AFAIK, the Obect Model does not provide the information. I stand by what I first said that this can not be done without digging in the registry. -- Enjoy, Tony www.WordArticles.com "Jay Freedman" wrote in message ... Yes, http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm. -- Jay On Tue, 29 Sep 2009 18:32:07 -0500, "Suzanne S. Barnhill" wrote: Doesn't Greg have a macro that does this? -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Tony Jollans" My forename at my surname dot com wrote in message .. . I don't believe it is possible without reading the registry. -- Enjoy, Tony www.WordArticles.com "Geoff Budd" wrote in message ... I use a macro to clear the recent documents list in Word 2007 as follows: Sub ClearMRU() ' Clears the list of most recently used documents Dim ListSize Application.DisplayRecentFiles = True ListSize = Application.RecentFiles.Maximum Application.RecentFiles.Maximum = 0 Application.RecentFiles.Maximum = ListSize End Sub However, what I would really like to do is only clear the list of documents that have not been "pinned". Does anyone know a way of clearing the list but leaving the "pinned" ones on the list? Many thanks, Geoff |
#11
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Selectively clear recent document list
On Sep 30, 5:16*pm, "Tony Jollans" My forename at my surname dot com
wrote: Thank youSuzanne. I'm just re-installing Word 2010 and will then have a look at the changes there. -- Enjoy,Tony *www.WordArticles.com "SuzanneS. Barnhill" wrote in l... It appears from another thread that Graham has already done this and is adding it to his Web site, butJayhints that this won't be necessary in Word 2010. -- SuzanneS. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "TonyJollans" My forename at my surname dot com wrote in message ... I don't know of anything, except that I think they get a sort of priority when you reduce the size of the list to anything other than zero - but doing this does not cause the registry to be cleared so if you increase the size of the list again, it just brings back all the ones *you had before. I don't think it would be enormously difficult to add some sort of feature to Greg's macro but I don't have time at the moment and I suspect Greg - game though I'm sure he'd be - would need some help to pull the flags out of the registry. -- Enjoy, Tony www.WordArticles.com "SuzanneS. Barnhill" wrote in message .. . There's something about pinning, though--perhaps that when you reset to zero and then restore to a positive number the pinned ones come back? -- SuzanneS. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "TonyJollans" My forename at my surname dot com wrote in message ... That neither shows the 'pin' status of an entry, nor allows its use as a selection criterion, because, AFAIK, the Obect Model does not provide the information. I stand by what I first said that this can not be done without digging in the registry. -- Enjoy, Tony www.WordArticles.com "JayFreedman" wrote in message m... Yes,http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm. -- Jay On Tue, 29 Sep 2009 18:32:07 -0500, "SuzanneS. Barnhill" wrote: Doesn't Greg have a macro that does this? -- SuzanneS. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "TonyJollans" My forename at my surname dot com wrote in message .. . I don't believe it is possible without reading the registry. -- Enjoy, Tony www.WordArticles.com "Geoff Budd" wrote in message ... I use a macro to clear the recent documents list in Word 2007 as follows: Sub ClearMRU() ' Clears the list of most recently used documents Dim ListSize * *Application.DisplayRecentFiles = True * *ListSize = Application.RecentFiles.Maximum * *Application.RecentFiles.Maximum = 0 * *Application.RecentFiles.Maximum = ListSize End Sub However, what I would really like to do is only clear the list of documents that have not been "pinned". *Does anyone know a way of clearing the list but leaving the "pinned" ones on the list? Many thanks, Geoff- Hide quoted text - - Show quoted text - Ms. Barnhill, Jay, Tony, Graham I updated the webpage to include the feature to delete "All," "Selected," "Pinned," and "Unpinned" files. The pinned and unpinned options are only availabe in Word2007. http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm I stole some code snips from Graham's post ;-) |
#12
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Selectively clear recent document list
I'm sure you must have meant to address Ms. Barnhill, Mr. Freedman, Mr.
Jollans, and Mr. Mayor. g -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "Greg Maxey" wrote in message ... On Sep 30, 5:16 pm, "Tony Jollans" My forename at my surname dot com wrote: Thank youSuzanne. I'm just re-installing Word 2010 and will then have a look at the changes there. -- Enjoy,Tony www.WordArticles.com "SuzanneS. Barnhill" wrote in l... It appears from another thread that Graham has already done this and is adding it to his Web site, butJayhints that this won't be necessary in Word 2010. -- SuzanneS. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "TonyJollans" My forename at my surname dot com wrote in message ... I don't know of anything, except that I think they get a sort of priority when you reduce the size of the list to anything other than zero - but doing this does not cause the registry to be cleared so if you increase the size of the list again, it just brings back all the ones you had before. I don't think it would be enormously difficult to add some sort of feature to Greg's macro but I don't have time at the moment and I suspect Greg - game though I'm sure he'd be - would need some help to pull the flags out of the registry. -- Enjoy, Tony www.WordArticles.com "SuzanneS. Barnhill" wrote in message .. . There's something about pinning, though--perhaps that when you reset to zero and then restore to a positive number the pinned ones come back? -- SuzanneS. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "TonyJollans" My forename at my surname dot com wrote in message ... That neither shows the 'pin' status of an entry, nor allows its use as a selection criterion, because, AFAIK, the Obect Model does not provide the information. I stand by what I first said that this can not be done without digging in the registry. -- Enjoy, Tony www.WordArticles.com "JayFreedman" wrote in message m... Yes,http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm. -- Jay On Tue, 29 Sep 2009 18:32:07 -0500, "SuzanneS. Barnhill" wrote: Doesn't Greg have a macro that does this? -- SuzanneS. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA http://word.mvps.org "TonyJollans" My forename at my surname dot com wrote in message .. . I don't believe it is possible without reading the registry. -- Enjoy, Tony www.WordArticles.com "Geoff Budd" wrote in message ... I use a macro to clear the recent documents list in Word 2007 as follows: Sub ClearMRU() ' Clears the list of most recently used documents Dim ListSize Application.DisplayRecentFiles = True ListSize = Application.RecentFiles.Maximum Application.RecentFiles.Maximum = 0 Application.RecentFiles.Maximum = ListSize End Sub However, what I would really like to do is only clear the list of documents that have not been "pinned". Does anyone know a way of clearing the list but leaving the "pinned" ones on the list? Many thanks, Geoff- Hide quoted text - - Show quoted text - Ms. Barnhill, Jay, Tony, Graham I updated the webpage to include the feature to delete "All," "Selected," "Pinned," and "Unpinned" files. The pinned and unpinned options are only availabe in Word2007. http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm I stole some code snips from Graham's post ;-) |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
To Clear Recent Files List (cont) | Microsoft Word Help | |||
how do i clear the history in "recent list" on office 07 | Microsoft Word Help | |||
How do you clear you microsoft document list | Microsoft Word Help | |||
How in Word 2007 do you Clear Recent Document Screen | Microsoft Word Help | |||
Recent document list | Microsoft Word Help |