Solved VBA to Set 'Show this number of Recent Databases' option to 0?

Mohsin Malik

Registered User.
Local time
Today, 19:50
Joined
Mar 25, 2012
Messages
179
Hi,

Is there a way to set the Show this number of Recent Databases and Quickly access this number of Recent Databases options to 0 in Microsoft Access using VBA. Is there a correct way to set these values using VBA. Our goal is to prevent any recent databases from showing up in the list or being quickly accessible.

Thanks in advance!
Mohsin
1723932023795.png
 
Get the number:
MsgBox Application.GetOption("Size of MRU File List")
Set the number:
Application.SetOption("Size of MRU File List"), 0
Perfect, thank you!
 

Users who are viewing this thread

Back
Top Bottom