Solved VBA to Set 'Show this number of Recent Databases' option to 0? (1 Viewer)

Mohsin Malik

Registered User.
Local time
Today, 22:38
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