Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default TODAY() and NOW() being reflected as zero

The formulas TODAY() and NOW() are being reflected as ZERO when I enter them
in a separate cell today. I'm betting it's related to a recent update, but
am wondering if others have seen it as well.

Thanks,

Barb Reinhardt

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default TODAY() and NOW() being reflected as zero

Hi Barb, the results described seem very unusual. How did you use the
function?



"Barb Reinhardt" wrote in message
...
The formulas TODAY() and NOW() are being reflected as ZERO when I enter
them
in a separate cell today. I'm betting it's related to a recent update,
but
am wondering if others have seen it as well.

Thanks,

Barb Reinhardt



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default TODAY() and NOW() being reflected as zero

=TODAY()
=NOW()

both formatted as GENERAL.

I have some other formulas that check the dates and they were behaving
strangely, so I broke the formulas apart and found that this seems to be the
issue.

Barb Reinhardt



"JLGWhiz" wrote:

Hi Barb, the results described seem very unusual. How did you use the
function?



"Barb Reinhardt" wrote in message
...
The formulas TODAY() and NOW() are being reflected as ZERO when I enter
them
in a separate cell today. I'm betting it's related to a recent update,
but
am wondering if others have seen it as well.

Thanks,

Barb Reinhardt



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default TODAY() and NOW() being reflected as zero

What do you debug with this

With ActiveCell
..Clear
..Formula = "=NOW()"
Debug.Print .Formula, .Value, .Text, .NumberFormat
End With

If not as anticipated, close Excel and try again with a new workbook

Regards,
Peter T

"Barb Reinhardt" wrote in message
...
The formulas TODAY() and NOW() are being reflected as ZERO when I enter
them
in a separate cell today. I'm betting it's related to a recent update,
but
am wondering if others have seen it as well.

Thanks,

Barb Reinhardt



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default TODAY() and NOW() being reflected as zero

And maybe trying it a second time with events disabled:

application.enableevents = false
With ActiveCell
.Clear
.Formula = "=NOW()"
Debug.Print .Formula, .Value, .Text, .NumberFormat
End With
application.enableevents = true



Peter T wrote:

What do you debug with this

With ActiveCell
.Clear
.Formula = "=NOW()"
Debug.Print .Formula, .Value, .Text, .NumberFormat
End With

If not as anticipated, close Excel and try again with a new workbook

Regards,
Peter T

"Barb Reinhardt" wrote in message
...
The formulas TODAY() and NOW() are being reflected as ZERO when I enter
them
in a separate cell today. I'm betting it's related to a recent update,
but
am wondering if others have seen it as well.

Thanks,

Barb Reinhardt


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default TODAY() and NOW() being reflected as zero

OK, I inadvertently posted this in the wrong group. When I enter either
=TODAY() or =NOW() in a cell on a worksheet, the result is 0, when formatted
as general. And of course, when I look at it now, it's working fine. I
have no idea what happened.

Thanks,

Barb Reinhardt



"Dave Peterson" wrote:

And maybe trying it a second time with events disabled:

application.enableevents = false
With ActiveCell
.Clear
.Formula = "=NOW()"
Debug.Print .Formula, .Value, .Text, .NumberFormat
End With
application.enableevents = true



Peter T wrote:

What do you debug with this

With ActiveCell
.Clear
.Formula = "=NOW()"
Debug.Print .Formula, .Value, .Text, .NumberFormat
End With

If not as anticipated, close Excel and try again with a new workbook

Regards,
Peter T

"Barb Reinhardt" wrote in message
...
The formulas TODAY() and NOW() are being reflected as ZERO when I enter
them
in a separate cell today. I'm betting it's related to a recent update,
but
am wondering if others have seen it as well.

Thanks,

Barb Reinhardt


--

Dave Peterson
.

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
Font Colors not reflected on printouts thegrx Excel Discussion (Misc queries) 2 August 26th 09 03:02 PM
HELP! Growth % reflected in a visual diagram Flojoe Excel Discussion (Misc queries) 8 December 31st 08 04:21 PM
Result of formula reflected in Chart (Excel 2002) Helen Charts and Charting in Excel 4 September 4th 07 05:16 PM
input not reflected in excel Nancy Excel Discussion (Misc queries) 2 April 7th 06 04:23 PM
Font Colors not reflected on printouts PaulP Excel Discussion (Misc queries) 2 October 10th 05 07:37 PM


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