Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 167
Default DateTimePicker

I want to add a datetimepicker into a form. I have found many articles about
using the datetimepicker class, but I cannot find anything in my version of
Excel (XP) or MS VB (v6.3). Is there some place I can download the addin
file so that my machine will have this capability.

What I want is...

A user (not necessarily on my machine) clicks a button. The button will
cause a date/time picker pop up. When the user selects a date and time this
date and time will be set in a variable.

As an alternative, I'd like some code that will ask for user input in
"m/dd/yy hh:mm:ss" format and then verify that it is a proper date/time.

Thanks in advance for the input.

Mike
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default DateTimePicker

This is some text I wrote for an add-in I made:

On some systems there might be a missing file called MSCal.OCX. This is a
file for the calendar control used by the add-in.
If the calendar control works fine you can forget about the next bit.
If the calendar control doesn't work you will have to do as follows:

Put the file MSCal.OCX in the folder where your Windows system file.
Register the file by doing:
Start
Run
regsvr32 C:\WINDOWS\SYSTEM32\mscal.ocx or similar depending where the
mscal.ocx file is

Start Excel
Alt F11
Tools
References
Find Microsoft Calendar Control 10.0 and tick it
You may have to restart Excel to make it work.

Some systems may need the older version of the mscal.ocx file, version 8.0.
This should be somewhere on the C drive or
on the Office installation disk. I think this file comes with Access, so if
you have Office Standard, you may have to
download this file from the internet.
All the different versions of the calendar control are available from this
website:
http://www.fontstuff.com/vba/vbatut07.htm
Click on the link in the top left in the box Get the Calendar Control.

RBS


"crazybass2" wrote in message
...
I want to add a datetimepicker into a form. I have found many articles
about
using the datetimepicker class, but I cannot find anything in my version
of
Excel (XP) or MS VB (v6.3). Is there some place I can download the addin
file so that my machine will have this capability.

What I want is...

A user (not necessarily on my machine) clicks a button. The button will
cause a date/time picker pop up. When the user selects a date and time
this
date and time will be set in a variable.

As an alternative, I'd like some code that will ask for user input in
"m/dd/yy hh:mm:ss" format and then verify that it is a proper date/time.

Thanks in advance for the input.

Mike


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default DateTimePicker

Forgot to say that it is worth it to look at that link even if you have the
..ocx file.

RBS


"RB Smissaert" wrote in message
...
This is some text I wrote for an add-in I made:

On some systems there might be a missing file called MSCal.OCX. This is a
file for the calendar control used by the add-in.
If the calendar control works fine you can forget about the next bit.
If the calendar control doesn't work you will have to do as follows:

Put the file MSCal.OCX in the folder where your Windows system file.
Register the file by doing:
Start
Run
regsvr32 C:\WINDOWS\SYSTEM32\mscal.ocx or similar depending where the
mscal.ocx file is

Start Excel
Alt F11
Tools
References
Find Microsoft Calendar Control 10.0 and tick it
You may have to restart Excel to make it work.

Some systems may need the older version of the mscal.ocx file, version
8.0. This should be somewhere on the C drive or
on the Office installation disk. I think this file comes with Access, so
if you have Office Standard, you may have to
download this file from the internet.
All the different versions of the calendar control are available from this
website:
http://www.fontstuff.com/vba/vbatut07.htm
Click on the link in the top left in the box Get the Calendar Control.

RBS


"crazybass2" wrote in message
...
I want to add a datetimepicker into a form. I have found many articles
about
using the datetimepicker class, but I cannot find anything in my version
of
Excel (XP) or MS VB (v6.3). Is there some place I can download the addin
file so that my machine will have this capability.

What I want is...

A user (not necessarily on my machine) clicks a button. The button will
cause a date/time picker pop up. When the user selects a date and time
this
date and time will be set in a variable.

As an alternative, I'd like some code that will ask for user input in
"m/dd/yy hh:mm:ss" format and then verify that it is a proper date/time.

Thanks in advance for the input.

Mike



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default DateTimePicker

Try this add in: http://www.j-walk.com/ss/pup/pup6/index.htm free for
thirty days & well worth it for what you get.

The author of the program also writes fantastic excel books, more on
that he http://j-walk.com/ss/books/index.htm

There's also a date & time picker from Microsoft, but I can't find it
online. Check add-ins...

Reply
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



All times are GMT +1. The time now is 03:17 PM.

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

About Us

"It's about Microsoft Excel"