Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Automatic Upate of NOW() function?

Hey,

I am wanting to find out if the NOW() function can be updated automatically
every 30 minutes - i have a formula which changes a date to tomorrows if it
is after 5pm - but the now function obviously doesn't update automatically.

Can any bodyhelp?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,942
Default Automatic Upate of NOW() function?

hi
excel is driven by event driven programing. meaning that excel is waiting
for the user to do something. if the user does something, things happen.
updates get updated. the screen changes. wow.
if the user doen't do something....nothing happens....no code runs...just a
monotonous screen display that never changes. kind of like watching paint
dry.
if you want updates to happen ever 30 minutes (like clock work) then...
have a user on call to do something every thirty minutes or...
look into the ontime method in vb help and/or see this site...
http://www.cpearson.com/excel/ontime.htm

regards
FSt1
And after reading this post, i think i have been up too long. or had 1 beer
too many.
both?????


"Ed's" wrote:

Hey,

I am wanting to find out if the NOW() function can be updated automatically
every 30 minutes - i have a formula which changes a date to tomorrows if it
is after 5pm - but the now function obviously doesn't update automatically.

Can any bodyhelp?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 857
Default Automatic Upate of NOW() function?

Hi Ed,

This can be done but you will need to write code to do it. Is that
something you want?

Sub my_Procedure()
Application.OnTime Now + TimeValue("00:30:00"), "my_Procedure"
Application.Calculate
End Sub

This actually calculates the entire application which automatically updates
all volatile functions of which NOW is one. You can limit the area that is
recalculated to a sheet for example. Place the above code in a regular code
module.

Cheers,
Shane Devenshire
Microsoft Excel MVP

"Ed's" wrote in message
...
Hey,

I am wanting to find out if the NOW() function can be updated
automatically
every 30 minutes - i have a formula which changes a date to tomorrows if
it
is after 5pm - but the now function obviously doesn't update
automatically.

Can any bodyhelp?


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
How do I turn off automatic date function in XL? bob condon Excel Worksheet Functions 4 March 7th 10 06:23 AM
cells don't upate JanineB_theSE Excel Discussion (Misc queries) 3 March 26th 09 02:17 PM
Excel - disable automatic function ekonomija Excel Worksheet Functions 4 January 12th 08 09:43 PM
Excel - disable automatic function ekonomija Excel Worksheet Functions 2 January 11th 08 07:09 AM
Use IF function to automatic run macro YS Lee Excel Worksheet Functions 2 May 4th 06 08:12 PM


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