Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default payroll Clocking in and out

Hi, I would like to set up a spreadsheet that calculates the payroll for my
company, at the moment I can only do this by manually inputting the values
off the cards, I would like to set up a form so that staff just hit clock in
on their way in. Then as they leave they hit clock out, I have a spreadsheet
set up and understand how to do time calculations, macros, forms and most
formulas in excel, my problems is if I link to a cell with time I don't no
how to keep that time, as when the sheet is refreshed the clocks time is
refreshed, and then clock in time is lost, how do I link to a cell, get the
value from it then not have that value change even when the rest of the page
is refreshed thanks for any help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default payroll Clocking in and out

Instead of using a formula like =now(), you would hard code the value.

activecell.formula = "=now()"
activecell.Formula = activecell.value

or do it directly

ActiveCell.Value = Now

in the second case, this is the VBA function now which is equivalent to the
Worksheet formula, but here you are putting in a fixed value.

--
Regards,
Tom Ogilvy

"Supachad" wrote in message
...
Hi, I would like to set up a spreadsheet that calculates the payroll for

my
company, at the moment I can only do this by manually inputting the values
off the cards, I would like to set up a form so that staff just hit clock

in
on their way in. Then as they leave they hit clock out, I have a

spreadsheet
set up and understand how to do time calculations, macros, forms and most
formulas in excel, my problems is if I link to a cell with time I don't no
how to keep that time, as when the sheet is refreshed the clock's time is
refreshed, and then clock in time is lost, how do I link to a cell, get

the
value from it then not have that value change even when the rest of the

page
is refreshed thanks for any help.



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
Payroll Squidgee Excel Discussion (Misc queries) 1 April 15th 10 03:05 PM
Payroll mikeindc Excel Discussion (Misc queries) 1 August 13th 06 09:40 PM
Adding payroll stubs payroll calculator Sable New Users to Excel 2 August 5th 06 05:37 PM
Payroll Ted Dawson New Users to Excel 6 February 28th 06 01:35 AM
Payroll Tracy Excel Discussion (Misc queries) 5 January 26th 06 09:16 PM


All times are GMT +1. The time now is 01:03 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"