PLEASEEEE HELP. DATE AND TIME PICKER CONTROL

K

K

Hi all, Can please any body can help that how can i write a macro to
a button which can SetFocus to Date and Time Picker Control on sheet.
Like i want macro to select inside the date field of Date and Time
Picker Control when i click the button. I tried (see below the code)
but not working. Please help

Private Sub CommandButton1_Click()
Me.DTPicker1.SetFocus
End Sub
 

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

Top