ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Can this be done- Spin button attatched to message box? (https://www.excelbanter.com/excel-programming/366679-can-done-spin-button-attatched-message-box.html)

Mike K

Can this be done- Spin button attatched to message box?
 
Oh wise ones,

Here is a snippet of code from my userform. When this box pops up the
current date is the default. How much effort would it take to be able to
increment or decrement the date instead of scrolling and typing? We usually
use the current date but its a hassle when the date is different and you have
to use the keyboard. Everything else in mouse driven. Any thoughts are
appreciated.

Thanks,
Mike

Win XP
Excel 2003

Message = "Enter the date the material was produced" ' Set prompt.
Title = "Date Produced" ' Set title.
Default = Date ' Set default.

RB Smissaert

Can this be done- Spin button attatched to message box?
 
I don't think it can be done with an inputbox, quite easy with a userform
with a spinner or buttons, but easiest to use a dedicated date control like
the MonthView.
I would go for the last one.

RBS

"Mike K" wrote in message
...
Oh wise ones,

Here is a snippet of code from my userform. When this box pops up the
current date is the default. How much effort would it take to be able to
increment or decrement the date instead of scrolling and typing? We
usually
use the current date but its a hassle when the date is different and you
have
to use the keyboard. Everything else in mouse driven. Any thoughts are
appreciated.

Thanks,
Mike

Win XP
Excel 2003

Message = "Enter the date the material was produced" ' Set prompt.
Title = "Date Produced" ' Set title.
Default = Date ' Set default.




All times are GMT +1. The time now is 12:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com