Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 204
Default How to show time on a form

I have two separate issues:

1) I would like to show an active clock on a form with the seconds ticking by.

2) I have a form with 5 text boxes and I don't want the cursor to move
between boxes when I press "Enter". Actually no matter which box I'm editing
I would like the cursor to go to the bottom box (TextBox1) on "Enter".

Can these be done.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 204
Default How to show time on a form

I have fixed problem with tab stops. I looked through properties before for
this but must have missed it. I'm still having trouble showing a running
clock though if anyone can please help.


"NDBC" wrote:

I have two separate issues:

1) I would like to show an active clock on a form with the seconds ticking by.

2) I have a form with 5 text boxes and I don't want the cursor to move
between boxes when I press "Enter". Actually no matter which box I'm editing
I would like the cursor to go to the bottom box (TextBox1) on "Enter".

Can these be done.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 204
Default How to show time on a form

I ave had a crack at it based on code I have found. This is what I have in
the code section for the form

Private Sub Clock1_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger)
Clock1.Text = Format(Now, "hh:mm:ss")
Application.OnTime Now + TimeSerial(0, 0, 1), "clock1"
End Sub


My idea was that on a keypress the time would show up in the textbox
Clock1TextBox. No go though. Any more thoughts.

"NDBC" wrote:

I have two separate issues:

1) I would like to show an active clock on a form with the seconds ticking by.

2) I have a form with 5 text boxes and I don't want the cursor to move
between boxes when I press "Enter". Actually no matter which box I'm editing
I would like the cursor to go to the bottom box (TextBox1) on "Enter".

Can these be done.

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
excel form. Need data extracted to spreadsheet each time a form co MikeR-Oz Excel Discussion (Misc queries) 4 April 5th 09 05:18 AM
show user form Joanne Links and Linking in Excel 1 February 27th 08 07:52 AM
show worksheet along with form cj2k2k Excel Discussion (Misc queries) 5 July 2nd 07 11:48 AM
How can I show exponents in numerical form Tanjia Excel Discussion (Misc queries) 2 April 11th 07 12:08 AM
Having one form show another form's input? Lucosa New Users to Excel 3 June 13th 06 04:16 PM


All times are GMT +1. The time now is 12:30 AM.

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"