Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Having the current time inserted w/o updating the current time

Does anyone know how I would put in the current time without having it update
on every save?

For example I have a formula where a time automatically gets inserted in a
cell, when another cell gets typed in.
Now if an hour passes I want to be able to keep that original time.
Does anyone know how? I am currently using an If statement with the "Now"
function, but it is not serving my purpose.

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,123
Default Having the current time inserted w/o updating the current time

Hi sherobot

You can insert the time like this
CTRL : (colon)

The date like this
CTRL ; (semicolon)


--
Regards Ron de Bruin
http://www.rondebruin.nl



"sherobot" wrote in message ...
Does anyone know how I would put in the current time without having it update
on every save?

For example I have a formula where a time automatically gets inserted in a
cell, when another cell gets typed in.
Now if an hour passes I want to be able to keep that original time.
Does anyone know how? I am currently using an If statement with the "Now"
function, but it is not serving my purpose.

Thanks in advance.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 176
Default Having the current time inserted w/o updating the current time

You can use an event macro. Play with the below code to get the correct cell
to populate in your sheet:

Private Sub Worksheet_Change(ByVal Target As Range)
[A1] = Now()
End Sub

--
Regards,
Dave


"sherobot" wrote:

Does anyone know how I would put in the current time without having it update
on every save?

For example I have a formula where a time automatically gets inserted in a
cell, when another cell gets typed in.
Now if an hour passes I want to be able to keep that original time.
Does anyone know how? I am currently using an If statement with the "Now"
function, but it is not serving my purpose.

Thanks in advance.

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
Calculate current date from fixed time? mandg Excel Worksheet Functions 2 June 1st 06 03:26 PM
perform calculation only if current time is after 10 am julieskennels Excel Worksheet Functions 7 July 18th 05 08:07 PM
How to enter current static time in Excel in 00:00:00.0 format? Wlumkong Excel Worksheet Functions 3 May 12th 05 03:54 PM
Using "IF" and "AND" statements with current time Bill Excel Worksheet Functions 3 April 18th 05 08:21 PM
how do i insert the current time into a cell, and show different . Dave Excel Discussion (Misc queries) 1 March 22nd 05 06:57 PM


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