Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Add file to Recent File List
This is how to add the current file to the Recent File List in Word:
Sub AddCurrentFileToMRU() RecentFiles.Add Document:=ActiveDocument.FullName End Sub I can't figure out how to do it in Excel. Any ideas? TIA, Andy |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Add file to Recent File List
Use the Add method for the RecentFiles Collection Object
From VBE help example : Application.RecentFiles.Add Name:="Oscar.xls" HTH Paul -------------------------------------------------------------------------------------------------------------- Be advised to back up your WorkBook before attempting to make changes. -------------------------------------------------------------------------------------------------------------- This is how to add the current file to the Recent File List in Word: Sub AddCurrentFileToMRU() RecentFiles.Add Document:=ActiveDocument.FullName End Sub I can't figure out how to do it in Excel. Any ideas? TIA, Andy |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Add file to Recent File List
Hadn't been able to find anything in Help that had "Application.RecentFiles" and "Add", which is why I came here <g. So I ended up with Application.RecentFiles.Add Name:=ActiveWorkbook.FullName Which worked fine. Thanks Paul Andy Use the Add method for the RecentFiles Collection Object From VBE help example : Application.RecentFiles.Add Name:="Oscar.xls" HTH Paul ---------------------------------------------------------------- Be advised to back up your WorkBook before attempting to make changes. ---------------------------------------------------------------- This is how to add the current file to the Recent File List in Word: Sub AddCurrentFileToMRU() RecentFiles.Add Document:=ActiveDocument.FullName End Sub I can't figure out how to do it in Excel. Any ideas? TIA, Andy |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to delete Excel 2007 file from list under Recent Documents | Excel Discussion (Misc queries) | |||
Recent File List Empty | Excel Discussion (Misc queries) | |||
how do i delete a file from recent documents file in excel | New Users to Excel | |||
Recent File List Check Box Greyed out | Excel Discussion (Misc queries) | |||
~Recent File~ | Excel Worksheet Functions |