b = Pm.InputBoxForDateTime("sDlgTitle", nStyle, vDateTime)
|sDlgTitle||(String) Title of the window.|
|nStyle||(Long) It is possible to enter the following styles:|
&H100 - Set only the date (year, month, day).
&H200 - Set only the time (hour, minute, second).
&H10000000 - Window will be "Always on top".
|vDateTime||[for read and write] (Date) |
on the calling: the preset value of date and time for the window.
after the calling: the entered value of date and time (if the window is closed by OK button).
dtNew = Now
'Date and time entered OK in the Date type variable