Code Samples for Businesses, Schools & Developers

Last Updated 28 Aug 2018

This article contains an updated version of the masked input box code originally written by Daniel Klann in 2003 for 32-bit Access only.

This updated version will work in both 32-bit and 64-bit Access.

The conversion proved more tricky than usual. Many thanks to Access World Forums member riti90 for assisting with the conversion to 64-bit.

To test the code, click the button on the form and enter 'password' in the input box.


Import the module modMaskedInputBox to use the code in your own projects.

Typical usage:

Dim strText As String
strText = InputBoxDK("Type your password here.", "Password Required")

Click to download:     MaskedInputBox3264         Approx 0.5 MB (zipped)

Colin Riddington           Mendip Data Systems                 Last Updated 28 Aug 2018

Return to Code Samples Page

Return to Top