mkill22
asked on
Recent Files Menu List
I've asked this before but have been unable to make anything work yet.
I've made an editor and I want to display the 4 most recently used files in the file menu.
I've made an editor and I want to display the 4 most recently used files in the file menu.
ASKER
Obviously this didn't work for me or I would not be asking again.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
mmmmmmm...........
sorry , i didn't know it is your question
:o)
sorry , i didn't know it is your question
:o)
would work much better in this case.
With 4 menu items named menuRecentFile(0) through menuRecentFile(3) and an array named and dim-med RecentFile(0 to 3), use code like the following:
Sub Form_Load ()
For I = 0 to 3
If (check for file number I) then
menuRecentFile(I).Visible = True
RecentFile(I) = (name of recent file)
Next
...
...
End Sub