pwdPrompt
Prompt for a password in a dialog box.
Syntax
[VBA]
Public Function pwdPrompt ( _
Optional szCaption As String = "", _
Optional szPrompt As String = "" _
) As String
Parameters
- szCaption
- Caption for the dialog box
- szPrompt
- Wording for prompt (optional, default="Enter Password:")
Return Value
String: String containing password or empty string ""
if user cancels.