Display Date In an Input Box
Display Date In an Input Box
(OP)
Hello,
I have a casl macro program that will ask for several options through popup input boxes. One of them asks for the date. I was wondering if there was a way to diplay the date within this popup box so the user will pretty much just have to hit enter? The date will display as mmddyyyy.
I have a casl macro program that will ask for several options through popup input boxes. One of them asks for the date. I was wondering if there was a way to diplay the date within this popup box so the user will pretty much just have to hit enter? The date will display as mmddyyyy.
RE: Display Date In an Input Box
CODE
OkButton 130, 5, 50, 15
CancelButton 130, 25, 50, 15
Text 20, 15, 70, 15, date
End Dialog
RE: Display Date In an Input Box
CODE
sDate = InputBox("Enter the date you want:", "Any Caption", Format(Date, "mmddyyyy"))