Posted on January 4, 2009
1
2
3
4
5
6
7
| 'System & API - How to add a Document name to the Recent Documents list (under Start Button)
Private Declare Sub SHAddToRecentDocs Lib "shell32.dll" (ByVal uFlags As Long, ByVal pv As String)
Sub AddToRecentDocs()
Dim strPathName As String
SHAddToRecentDocs 2, ActiveDocument.FullName
End Sub |