#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 131
Default TIME

Hello,

OK, what i want to achive is this;
=IF(A10,NOW())
But!
How do I stop the time re-calculating each time?

Any help welcome

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default TIME

You would have to manually convert to a value or use a macro or use
ctrl+colon or shift colon

--
Don Guillett
SalesAid Software

"LaDdIe" wrote in message
...
Hello,

OK, what i want to achive is this;
=IF(A10,NOW())
But!
How do I stop the time re-calculating each time?

Any help welcome



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 131
Default TIME

Thanks Don, I'll go via the macro route

"Don Guillett" wrote:

You would have to manually convert to a value or use a macro or use
ctrl+colon or shift colon

--
Don Guillett
SalesAid Software

"LaDdIe" wrote in message
...
Hello,

OK, what i want to achive is this;
=IF(A10,NOW())
But!
How do I stop the time re-calculating each time?

Any help welcome




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default TIME

Use an event macro:

Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
If IsEmpty(Range("B1")) Then
If Range("A1").Value 0 Then
Range("B1").Value = Now()
End If
End If
Application.EnableEvents = True
End Sub


This puts NOW() in B1, but as value and only once.


REMEMBER: this goes in worksheet code, not a standard module
--
Gary''s Student
gsnu200711

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default TIME

Take a look at the event macro that JE McGimpsey shares:
http://www.mcgimpsey.com/excel/timestamp.html

LaDdIe wrote:

Hello,

OK, what i want to achive is this;
=IF(A10,NOW())
But!
How do I stop the time re-calculating each time?

Any help welcome


--

Dave Peterson
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
Formula to find Stop Time from Start Time and Total Minutes Jonathan Bickett Excel Worksheet Functions 5 March 7th 07 05:22 PM
template or formula for start time -finish time -total hours ple cc New Users to Excel 1 March 27th 06 06:06 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
Show timesheet time in and out in regular time versus military tim John Excel Worksheet Functions 1 November 11th 05 05:14 AM
Remove time from a date and time field? Format removes the displa. oaoboc Excel Worksheet Functions 1 February 16th 05 07:20 PM


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