ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Create a calendar in VB with excel 2007?? (https://www.excelbanter.com/excel-programming/403092-create-calendar-vbulletin-excel-2007-a.html)

Mekinnik

Create a calendar in VB with excel 2007??
 
I created the code with excel 2003 and transfered it to my new system with
office 2007 enterprise and now the calender will not work here is the code I
use.

Private Sub Calendar1_Click()
FrmProduct.TxtDate.Value = Calendar1.Value
Unload Me
FrmProduct.BtnAdd.SetFocus
End Sub

When the user double clicks TxtDate box on another user form it show this
user form which is a form to select a date from.

I would like it to always highlite the current date and alow the user to
select what date they want.

Mike Fogleman

Create a calendar in VB with excel 2007??
 
Good info here on getting the calendar to work:

http://www.rondebruin.nl/calendar.htm

Mike F
"Mekinnik" wrote in message
...
I created the code with excel 2003 and transfered it to my new system with
office 2007 enterprise and now the calender will not work here is the code
I
use.

Private Sub Calendar1_Click()
FrmProduct.TxtDate.Value = Calendar1.Value
Unload Me
FrmProduct.BtnAdd.SetFocus
End Sub

When the user double clicks TxtDate box on another user form it show this
user form which is a form to select a date from.

I would like it to always highlite the current date and alow the user to
select what date they want.





All times are GMT +1. The time now is 06:22 PM.

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