Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Continuous Time/Date Updates

Is there a way to get the time and date updated in a cell
continuously at a given interval (eg: each minute)?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Continuous Time/Date Updates

This may not be the best way, but it does work. Insert this code into a
module then run UpdateTime
Modify the cell address and format to what you need

Sub UpdateTime()
Application.OnTime Now + TimeValue("00:01:00"), procedu="InsertTime"
End Sub

Private Sub InsertTime()
Cells(1, 1).Value = Now
UpdateTime
End Sub

Paul D

"Bill Lanier" wrote in message
...
Is there a way to get the time and date updated in a cell
continuously at a given interval (eg: each minute)?



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
Date-time updates every cell? Penny Miller Excel Worksheet Functions 3 June 27th 09 12:28 AM
Continuous Evaluation of Time Function NOW() ?? monir Excel Worksheet Functions 1 March 4th 08 09:40 AM
Overlapping time calculations and automatic time updates Arlette Excel Worksheet Functions 1 December 9th 06 12:20 AM
Continuous dates and time Stonleyoh Charts and Charting in Excel 1 January 27th 06 09:49 PM
Date updates from worksheet to chart & changes date to a date series! Help!! Jayjg Charts and Charting in Excel 2 January 22nd 05 03:00 PM


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