Is there a Time Control for Excel VBA :: MrExcel Message Board


 FAQFAQ
   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   StatisticsStatistics 
 RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Online StoreOnline Store

MrExcel Message Board Forum Index -> Excel Questions

Is there a Time Control for Excel VBA
Post new topic   Reply to topic
Last Thread | Next Thread  >   Printable version
  Author    Thread

DRJ
Board Master
Board  Master


Joined: 18 Feb 2002
Posts: 1022
Location: California
Flag: Usa

Status: Offline

 Reply with quote  

Is there a Time Control for Excel VBA

I want to have a date and time inputted onto a user form. I use a calendar control which is great. I was wondering if there was a time control. Something like what is brought up when you adjust the system time on the PC. The user can adjust the clock and the userform would received the appropriate time.

Also is there any way to send data when a user form is called? Right now I have 4 seperate userforms with a calendar control on it 'cause I need the data to go to different locations depending on which form was used, but all the forms are the some so if I could call it with a number then I could just use a case select to tell it where to put the data.

Thanks

Post Fri Sep 19, 2003 6:42 pm 
 View user's profile Send private message Send e-mail

Juan Pablo González
MrExcel MVP


Joined: 09 Feb 2002
Posts: 8580
Location: Marion, IL
Flag: Colombia

Status: Offline

 Reply with quote  

Re: Is there a Time Control for Excel VBA

I'm not sure which program installs this, I believe its VB 6, but maybe search for one called 'Microsoft Date and Time Picker". Once you have it, change the 'Format' property to '2 - dtpTime'.
_________________
Regards,

Juan Pablo González
MrExcel.com Consulting

Read the Articles List and check out our Recommended links and Add-Ins

Post Fri Sep 19, 2003 7:50 pm 
 View user's profile Send private message Visit poster's website

yippie_ky_yay
Board Regular


Joined: 26 Jun 2002
Posts: 56


Status: Offline

 Reply with quote  

Re: Is there a Time Control for Excel VBA

Thank you Juan! I had the exact same question as DRJ.

Just writing to let others know that it was already in my list of controls for Excel 2002.

Cheers!

-Sean

Post Fri Oct 24, 2003 2:26 pm 
 View user's profile Send private message Send e-mail
  Display posts from previous:      

MrExcel Message Board Forum Index -> Excel Questions


Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 1 of 1



Add To Favorites

 


Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB: 2.0.4 © 2001 phpBB Group

Need help posting your first question? Read how to post

Need extra help ? Couldn't get the answer you needed ? Get a free quote from our Consulting Team

Download Colo's HTML Maker utility for displaying your Excel Worksheet on the board.

Download VB HTML Maker to post your code on the board


Check out our new index to 485 Excel Articles.


Return to MrExcel Consulting

All contents Copyright 1998-2004 by MrExcel.com
If you believe information posted here is from your copyrighted source, notify us per the Terms of Use
Excel is a registered trademark of the Microsoft Corporation.
MrExcel is a registered trademark of Tickling Keys, Inc.