Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Pop up Clock?

Is there such a thing as a pop up clock? I would like to have a point & click
option for users to have when entering their time on a timesheet.
I am new to Macro's but have been teaching myself & recently created the
pop-up-calendar for users to have access to in my personal.xls folder & even
saved it as an Add-in. (still not sure about everything that I am doing but
it's becoming clearer every day)
--
ldd
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Pop up Clock?

You could try building a form with a text field and then populate the field
at the OnLoad event with something like this:

num = Now() - Int(Now())
hr = num * 24
mn = (hr - Int(hr)) * 60

tme = Int(hr) & ":" & Int(Min)

It wouldn't "tick" like a clock, but should give the user the correct time
(based on their system clock) at the moment the form loaded. If you wanted
to get into seconds, you could add another layer. This would also be
military time. If you didn't want that, you could put something like

If hr 12 then hr = hr -12

in there, but then you'd need an AM/PM designator.

Don't know if that would work for what you want, but it might at least be a
starting place....

Good luck.
--
Mike Lee
McKinney,TX USA


"vblaradetrich1" wrote:

Is there such a thing as a pop up clock? I would like to have a point & click
option for users to have when entering their time on a timesheet.
I am new to Macro's but have been teaching myself & recently created the
pop-up-calendar for users to have access to in my personal.xls folder & even
saved it as an Add-in. (still not sure about everything that I am doing but
it's becoming clearer every day)
--
ldd

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Pop up Clock?

It isn't going to be the time that the user is using the form. In fact it
just needs to be a regular clock or have all the options (like a drop down,
but I didn't want to put in every minute of a day in a drop down box). I was
looking for something like the calendar (a clock) to pop up so that the user
could click on the time that they came to work, time that they went to lunch
& time they left.
--
ldd


"mikelee101" wrote:

You could try building a form with a text field and then populate the field
at the OnLoad event with something like this:

num = Now() - Int(Now())
hr = num * 24
mn = (hr - Int(hr)) * 60

tme = Int(hr) & ":" & Int(Min)

It wouldn't "tick" like a clock, but should give the user the correct time
(based on their system clock) at the moment the form loaded. If you wanted
to get into seconds, you could add another layer. This would also be
military time. If you didn't want that, you could put something like

If hr 12 then hr = hr -12

in there, but then you'd need an AM/PM designator.

Don't know if that would work for what you want, but it might at least be a
starting place....

Good luck.
--
Mike Lee
McKinney,TX USA


"vblaradetrich1" wrote:

Is there such a thing as a pop up clock? I would like to have a point & click
option for users to have when entering their time on a timesheet.
I am new to Macro's but have been teaching myself & recently created the
pop-up-calendar for users to have access to in my personal.xls folder & even
saved it as an Add-in. (still not sure about everything that I am doing but
it's becoming clearer every day)
--
ldd

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
Incremental time values based upon clock in and clock out times saltnsnails Excel Discussion (Misc queries) 8 January 13th 09 08:11 PM
How do I calculate time in excel (clock in and clock out chad Excel Discussion (Misc queries) 3 January 7th 08 10:09 PM
Change EXCEL Clock to Standard Clock or Military Time YoMarie Excel Worksheet Functions 4 April 29th 07 08:39 PM
Start Clock/Stop Clock abfabrob Excel Discussion (Misc queries) 9 June 28th 05 04:26 PM
Sorry, my clock is off CLR Excel Discussion (Misc queries) 2 June 26th 05 01:19 AM


All times are GMT +1. The time now is 02:45 AM.

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"