ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Date Pickers on a MultiPage control (https://www.excelbanter.com/excel-programming/324868-date-pickers-multipage-control.html)

Larry

Date Pickers on a MultiPage control
 
I have a date picker on a MultiPage control. It refuses to give up it's
value when I try to use it populate a label on a different page of the same
MultiPage control.

Ex: label.Caption = Format$(frmMain.dtpDatesFrom.Value)

I get times instead of dates...and when I check the value, it says the year
is 1899 or something crazy.

Here's something even crazier: When I drag the date picker off of the
MultiPage control, and drop it on the user form, everything works great. ????

Any clues as to why the date picker freaks out when it lives in a MultiPage
control?

Thanks Much


All times are GMT +1. The time now is 11:04 AM.

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