Create a calendar in VB with excel 2007??

  • Thread starter Thread starter Mekinnik
  • Start date Start date
M

Mekinnik

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top