Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default Click a cell and update to current time / date ?

Does Excel have following feature for a cell?
Only I click a cell A1 with enter or another ways , then the cell A1 will
display the current time / date?
therefore, I will know when I work with this spreadsheet last time, but it
required o click cell A1 to get updated.
Does anyone know whether excel has this feature?
Thank you in advance
Eric

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 510
Default Click a cell and update to current time / date ?

Hi Eric,

As you Click is used to select a cell, But it is possible with Double
Click event :

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, _
Cancel As Boolean)
With Target
If .Cells.Count 1 Then Exit Sub
If Intersect(.Cells, Me.Range("A1")) Is Nothing Then Exit Sub
If .Column = 1 Then
.Interior.ColorIndex = 6
End If
.Value = Date
End With
End Sub

HTH
Cheers
Carim

  #3   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Click a cell and update to current time / date ?

Ctrl-semicolon will enter the current date in a selected cell.....
Ctrl-Shift-Colon will enter the current time.....

hth
Vaya con Dios,
Chuck, CABGx3




"Eric" wrote:

Does Excel have following feature for a cell?
Only I click a cell A1 with enter or another ways , then the cell A1 will
display the current time / date?
therefore, I will know when I work with this spreadsheet last time, but it
required o click cell A1 to get updated.
Does anyone know whether excel has this feature?
Thank you in advance
Eric

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,670
Default Click a cell and update to current time / date ?

Thank everyone
Eric
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
insert date Larry Excel Worksheet Functions 28 July 15th 06 02:41 AM
Populating Last Saved Date in Cell AND also update that same cell in Header o0o_Bigs_o0o Excel Discussion (Misc queries) 2 July 4th 06 12:56 PM
How to auto update a cell with a current date Kell2604 Excel Discussion (Misc queries) 2 June 23rd 06 09:18 PM
Update cell based on date range deversole Excel Discussion (Misc queries) 3 July 6th 05 01:58 PM
How do you continuously update time and date in an Excel cell? engine99 Excel Worksheet Functions 7 February 21st 05 02:20 AM


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