#1   Report Post  
confused
 
Posts: n/a
Default LOCK TIME

HIYA
how can i lock the time in a cell when using the now function

am developing a vehicle log , and nned it to recored the time a vehicle
arives on site based on when a action is performed

example being
if a2 is activeated then b2 = time
if a3 is activated then b3 = time
ect,

the problem im having is that by using the now function all the times change
to the last entry time instead of leaving the previous times as they were

  #2   Report Post  
Gary's Student
 
Posts: n/a
Default

Once a cell has the correct time you need to replace the function by it
value, then it is frozen:

select the cell
Edit/Copy
on the same cell
Edit/Paste Special/Value
--
Gary's Student


"confused" wrote:

HIYA
how can i lock the time in a cell when using the now function

am developing a vehicle log , and nned it to recored the time a vehicle
arives on site based on when a action is performed

example being
if a2 is activeated then b2 = time
if a3 is activated then b3 = time
ect,

the problem im having is that by using the now function all the times change
to the last entry time instead of leaving the previous times as they were

  #3   Report Post  
confused
 
Posts: n/a
Default

thanks for you answer, but what im looking for is a way for excell to auto
"paste special" the cell so it does not change. the form is intended to be
used by anyone with only on click

"Gary's Student" wrote:

Once a cell has the correct time you need to replace the function by it
value, then it is frozen:

select the cell
Edit/Copy
on the same cell
Edit/Paste Special/Value
--
Gary's Student


"confused" wrote:

HIYA
how can i lock the time in a cell when using the now function

am developing a vehicle log , and nned it to recored the time a vehicle
arives on site based on when a action is performed

example being
if a2 is activeated then b2 = time
if a3 is activated then b3 = time
ect,

the problem im having is that by using the now function all the times change
to the last entry time instead of leaving the previous times as they were

  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

see my response

--

HTH

RP
(remove nothere from the email address if mailing direct)


"confused" wrote in message
...
thanks for you answer, but what im looking for is a way for excell to auto
"paste special" the cell so it does not change. the form is intended to be
used by anyone with only on click

"Gary's Student" wrote:

Once a cell has the correct time you need to replace the function by it
value, then it is frozen:

select the cell
Edit/Copy
on the same cell
Edit/Paste Special/Value
--
Gary's Student


"confused" wrote:

HIYA
how can i lock the time in a cell when using the now function

am developing a vehicle log , and nned it to recored the time a

vehicle
arives on site based on when a action is performed

example being
if a2 is activeated then b2 = time
if a3 is activated then b3 = time
ect,

the problem im having is that by using the now function all the times

change
to the last entry time instead of leaving the previous times as they

were



  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

Private Sub Worksheet_Change(ByVal Target As Range)

On Error GoTo ws_exit:
Application.EnableEvents = False
If Not Intersect(Target, Me.Range("A1:A100")) Is Nothing Then
With Target
.Offset(0, 1).Value = Format(Time, "hh:mm:ss")
End With
End If

ws_exit:
Application.EnableEvents = True
End Sub

'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.




--

HTH

RP
(remove nothere from the email address if mailing direct)


"confused" wrote in message
...
HIYA
how can i lock the time in a cell when using the now function

am developing a vehicle log , and nned it to recored the time a vehicle
arives on site based on when a action is performed

example being
if a2 is activeated then b2 = time
if a3 is activated then b3 = time
ect,

the problem im having is that by using the now function all the times

change
to the last entry time instead of leaving the previous times as they were





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
time differences in a column 68magnolia71 Excel Worksheet Functions 3 May 9th 05 09:46 PM
Accumulate weekly time to total time in Excel. delve Excel Discussion (Misc queries) 0 May 4th 05 08:14 PM
Time Sheet Calculation Help Needed! sax30 Excel Worksheet Functions 2 April 26th 05 08:08 PM
Time Sheets Lady Layla Excel Discussion (Misc queries) 1 March 23rd 05 03:22 PM
unmet challenge boris Excel Worksheet Functions 2 March 16th 05 02:13 PM


All times are GMT +1. The time now is 05:48 PM.

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"