#1   Report Post  
Posted to microsoft.public.excel.misc
UB UB is offline
external usenet poster
 
Posts: 120
Default Current Time

Hi

What I want to do is that if I enter a value in a cell (Ex A1), in cell A2,
I want the current system time to automatically stamp and save it.
Please advise if this is possible.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Current Time

Private Sub Worksheet_Change(ByVal Target As Range)
If Range("A1").Value < "" Then
Range("A2").Value = Time
End If
End Sub

"ub" wrote:

Hi

What I want to do is that if I enter a value in a cell (Ex A1), in cell A2,
I want the current system time to automatically stamp and save it.
Please advise if this is possible.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
dlw dlw is offline
external usenet poster
 
Posts: 510
Default Current Time

=IF(A10,NOW(),0)
that will put the current time if a value of 0 is entered
it will be a funny number, if you format the cell Time it will be a time


"ub" wrote:

Hi

What I want to do is that if I enter a value in a cell (Ex A1), in cell A2,
I want the current system time to automatically stamp and save it.
Please advise if this is possible.

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Current Time

.... but next time you open the sheet, NOW() will be a different time. Did
the OP want that?
--
David Biddulph

"dlw" wrote in message
...
=IF(A10,NOW(),0)
that will put the current time if a value of 0 is entered
it will be a funny number, if you format the cell Time it will be a time


"ub" wrote:

Hi

What I want to do is that if I enter a value in a cell (Ex A1), in cell
A2,
I want the current system time to automatically stamp and save it.
Please advise if this is possible.

Thanks



  #5   Report Post  
Posted to microsoft.public.excel.misc
UB UB is offline
external usenet poster
 
Posts: 120
Default Current Time

Hi
Please advise, if the time will be saved.
Because NOW(), gives thecurrent time.
Example, If I had entered data in cell A1 yeterday and today when I go in
the sheet. Will I see the time in cell a2 that of yesterday or the current
time.


"dlw" wrote:

=IF(A10,NOW(),0)
that will put the current time if a value of 0 is entered
it will be a funny number, if you format the cell Time it will be a time


"ub" wrote:

Hi

What I want to do is that if I enter a value in a cell (Ex A1), in cell A2,
I want the current system time to automatically stamp and save it.
Please advise if this is possible.

Thanks



  #6   Report Post  
Posted to microsoft.public.excel.misc
UB UB is offline
external usenet poster
 
Posts: 120
Default Current Time

I dont want a different time , when I tab to another cell or reopen the sheet.
Is there any way I can store the value of now() in any cell.

"David Biddulph" wrote:

.... but next time you open the sheet, NOW() will be a different time. Did
the OP want that?
--
David Biddulph

"dlw" wrote in message
...
=IF(A10,NOW(),0)
that will put the current time if a value of 0 is entered
it will be a funny number, if you format the cell Time it will be a time


"ub" wrote:

Hi

What I want to do is that if I enter a value in a cell (Ex A1), in cell
A2,
I want the current system time to automatically stamp and save it.
Please advise if this is possible.

Thanks




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Current Time

Control semi-colon, space, Control-shift-colon
--
David Biddulph

"ub" wrote in message
...
I dont want a different time , when I tab to another cell or reopen the
sheet.
Is there any way I can store the value of now() in any cell.

"David Biddulph" wrote:

.... but next time you open the sheet, NOW() will be a different time.
Did
the OP want that?
--
David Biddulph

"dlw" wrote in message
...
=IF(A10,NOW(),0)
that will put the current time if a value of 0 is entered
it will be a funny number, if you format the cell Time it will be a
time


"ub" wrote:

Hi

What I want to do is that if I enter a value in a cell (Ex A1), in
cell
A2,
I want the current system time to automatically stamp and save it.
Please advise if this is possible.

Thanks






  #8   Report Post  
Posted to microsoft.public.excel.misc
UB UB is offline
external usenet poster
 
Posts: 120
Default Current Time

Thanks a lot, It works
Please advise if I can use to automaticaly enter time in my sheet.
Example, if user has entered a value in cell a1, the current time should
stamp autmatically in cell a2 and the time value should be saved.

Thanks

"David Biddulph" wrote:

Control semi-colon, space, Control-shift-colon
--
David Biddulph

"ub" wrote in message
...
I dont want a different time , when I tab to another cell or reopen the
sheet.
Is there any way I can store the value of now() in any cell.

"David Biddulph" wrote:

.... but next time you open the sheet, NOW() will be a different time.
Did
the OP want that?
--
David Biddulph

"dlw" wrote in message
...
=IF(A10,NOW(),0)
that will put the current time if a value of 0 is entered
it will be a funny number, if you format the cell Time it will be a
time


"ub" wrote:

Hi

What I want to do is that if I enter a value in a cell (Ex A1), in
cell
A2,
I want the current system time to automatically stamp and save it.
Please advise if this is possible.

Thanks






  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Current Time

That would need VBA. You'll see suggestions in the archives of this
newsgroup.
--
David Biddulph

"ub" wrote in message
...
Thanks a lot, It works
Please advise if I can use to automaticaly enter time in my sheet.
Example, if user has entered a value in cell a1, the current time should
stamp autmatically in cell a2 and the time value should be saved.

Thanks

"David Biddulph" wrote:

Control semi-colon, space, Control-shift-colon
--
David Biddulph

"ub" wrote in message
...
I dont want a different time , when I tab to another cell or reopen the
sheet.
Is there any way I can store the value of now() in any cell.

"David Biddulph" wrote:

.... but next time you open the sheet, NOW() will be a different time.
Did
the OP want that?
--
David Biddulph

"dlw" wrote in message
...
=IF(A10,NOW(),0)
that will put the current time if a value of 0 is entered
it will be a funny number, if you format the cell Time it will be a
time


"ub" wrote:

Hi

What I want to do is that if I enter a value in a cell (Ex A1), in
cell
A2,
I want the current system time to automatically stamp and save it.
Please advise if this is possible.

Thanks








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
current time member Miri Excel Discussion (Misc queries) 1 April 9th 08 08:28 AM
In Excel: is there a way of inserting the current time (what time it is right NOW) [email protected] Excel Discussion (Misc queries) 2 May 20th 07 11:35 PM
Having the current time inserted w/o updating the current time sherobot Excel Worksheet Functions 2 October 2nd 06 05:05 PM
how do I get a current time using =TODAY() instead of 12:00 AM Keith Excel Discussion (Misc queries) 10 June 26th 06 08:32 PM
Can I automatically enter the current date or current time into a Ben New Users to Excel 7 October 19th 05 03:38 PM


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