InputTime(Prompt: String[, Title: String, Default: Time]): String
Displays a prompt in a dialog box, User must input a valid time or select a time from the dropdown, and returns a time.
Note, if User clicks OK or presses Enter InputTime function returns what is in the time control. If User clicks Cancel or presses Esc, function returns Null.
InputDate function syntax has these named arguments:
Parameter |
Description |
Prompt |
Required. String expression displayed as the message in the dialog box. |
Title |
Optional. String expression displayed in the title bar of the dialog box. If you omit title, the application name is placed in the title bar. |
Default |
Optional. Time expression displayed in the time control as the default response if no other input is provided. If you omit default, the time control is displayed empty. |
See also Scripted Form InputTime method.