LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Calender Control

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.

WLMPilot wrote:

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

"Dave Peterson" wrote:

If you're going to use the calendar control, you won't need the inputbox.

Ron de Bruin has some notes he
http://www.rondebruin.nl/calendar.htm

WLMPilot wrote:

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


--

Dave Peterson


--

Dave Peterson
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
i dont know what file to name when registering Calender Control Kess Excel Discussion (Misc queries) 1 December 17th 07 09:24 AM
How to use Calender control as date chooser in excel?? Rakesh Excel Discussion (Misc queries) 2 May 25th 06 04:33 PM
how to edit calender control in excel? edit calender in excel Excel Discussion (Misc queries) 0 March 31st 06 05:42 AM
Today variable to calender control anonymous Excel Discussion (Misc queries) 2 March 10th 05 03:22 PM
Microsoft Calender Control 11.0 akim612 Excel Discussion (Misc queries) 1 January 19th 05 09:24 PM


All times are GMT +1. The time now is 01:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"