Calender Control

W

WLMPilot

I have added Calender Control 10.0 as an add-in. I want to allow the user to
use a calender to select a date for input via Inputbox. Once the date is
selected and entered, a macro is going to use the date.

I have no clue how to activate/use the calender control. How is this
accomplished?

Thanks,
Les
 
W

WLMPilot

Thanks. However, I would prefer to use the Inputbox. How can I use a
calender to select a date as input on an inputbox?

Les
 
D

Dave Peterson

I don't know.

You could use an inputbox and ask the user to type in a date, though.

Dim myDate as date
mydate = application.inputbox(Prompt:="Enter a date",type:=1)

if mydate = 0 then
exit sub
else
with activesheet.range("a1")
.numberformat = "mmmm dd, yyyy"
.value = mydate
end with
end if

========
If you really meant that you wanted to use a userform that contained a calendar
control to get the date, then check out Ron's site.
 

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