Today not changing

  • Thread starter Thread starter Daniel
  • Start date Start date
D

Daniel

Hello.
I'm using the formula :
=TODAY()-30
The workbook remains open overnight.
When the date changes, there is no change in the cell value. I'll appreciate
some kind of automation (VBA OnTime ?).
Thanks in advance.
Daniel
 
Hi

Formulas in excel are recalculated whenever they are triggered. When there
are volatile functions used in formula, the formula is recalculated whenever
some cell entry is changed. Otherwise the formula is recalculated when some
of formula's parameters is changed.

TODAY is recalculated whenever something is changed in any cell.

Maybe you write a windows script, which closes and reopens your workbook
after midnight. Another option is to write an timer event for your workbook,
which recalculates the workbook at given time. But I'm not sure how this
will affect your workbooks performance - you have to use some cycle, because
there Excel misses built-in timer event.
 
Just hit the F9 key at the start of your working day.

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top