Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default xl 2002 date problem

i wrote my app in excel 2003 and my client uses 2002. on the reports in the
headers, i use Date to print the current date. client says it prints yesterday
instead of today.

here's an example
..RightHeader = "&B&12 " & Date

anyone seen this? where would it get yesterday's date?

--


Gary



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default xl 2002 date problem

Hi Gary,

<where would it get yesterday's date?

From an incorrectly set system clock?

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Gary Keramidas" <GKeramidasATmsn.com wrote in message ...
|i wrote my app in excel 2003 and my client uses 2002. on the reports in the
| headers, i use Date to print the current date. client says it prints yesterday
| instead of today.
|
| here's an example
| .RightHeader = "&B&12 " & Date
|
| anyone seen this? where would it get yesterday's date?
|
| --
|
|
| Gary
|
|
|


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default xl 2002 date problem

they say no and that it happens on 2 pc's. i have no idea.

--


Gary


"Niek Otten" wrote in message
...
Hi Gary,

<where would it get yesterday's date?

From an incorrectly set system clock?

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
|i wrote my app in excel 2003 and my client uses 2002. on the reports in the
| headers, i use Date to print the current date. client says it prints
yesterday
| instead of today.
|
| here's an example
| .RightHeader = "&B&12 " & Date
|
| anyone seen this? where would it get yesterday's date?
|
| --
|
|
| Gary
|
|
|




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default xl 2002 date problem

Gary,
I'd go with Niek, as I don't see how Date can return anything else but the
system date.

What do they get by entering =TODAY() in a WS cell ?

NickHK

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
they say no and that it happens on 2 pc's. i have no idea.

--


Gary


"Niek Otten" wrote in message
...
Hi Gary,

<where would it get yesterday's date?

From an incorrectly set system clock?

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
|i wrote my app in excel 2003 and my client uses 2002. on the reports in

the
| headers, i use Date to print the current date. client says it prints
yesterday
| instead of today.
|
| here's an example
| .RightHeader = "&B&12 " & Date
|
| anyone seen this? where would it get yesterday's date?
|
| --
|
|
| Gary
|
|
|






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default xl 2002 date problem

i'll have to ask. they probably printed the reports the day before and forgot to
go get them off of the printer. other than that i have no idea.

--


Gary


"NickHK" wrote in message
...
Gary,
I'd go with Niek, as I don't see how Date can return anything else but the
system date.

What do they get by entering =TODAY() in a WS cell ?

NickHK

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
they say no and that it happens on 2 pc's. i have no idea.

--


Gary


"Niek Otten" wrote in message
...
Hi Gary,

<where would it get yesterday's date?

From an incorrectly set system clock?

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
|i wrote my app in excel 2003 and my client uses 2002. on the reports in

the
| headers, i use Date to print the current date. client says it prints
yesterday
| instead of today.
|
| here's an example
| .RightHeader = "&B&12 " & Date
|
| anyone seen this? where would it get yesterday's date?
|
| --
|
|
| Gary
|
|
|










  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default xl 2002 date problem

they run these reports separately, but one right after the other. this is what
they told me happened today

Production Header-11/16/2006

Stacking Sheets-11/17/2006

Production Sheets-11/16/2006

Run Sheet-11/17/2006

Batching Sheet-11/17/2006

GRDB2 Sheet-11/17/2006



--


Gary


"NickHK" wrote in message
...
Gary,
I'd go with Niek, as I don't see how Date can return anything else but the
system date.

What do they get by entering =TODAY() in a WS cell ?

NickHK

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
they say no and that it happens on 2 pc's. i have no idea.

--


Gary


"Niek Otten" wrote in message
...
Hi Gary,

<where would it get yesterday's date?

From an incorrectly set system clock?

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
|i wrote my app in excel 2003 and my client uses 2002. on the reports in

the
| headers, i use Date to print the current date. client says it prints
yesterday
| instead of today.
|
| here's an example
| .RightHeader = "&B&12 " & Date
|
| anyone seen this? where would it get yesterday's date?
|
| --
|
|
| Gary
|
|
|








  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,651
Default xl 2002 date problem

On Fri, 17 Nov 2006 14:19:43 -0500, "Gary Keramidas" <GKeramidasATmsn.com
wrote:

they run these reports separately, but one right after the other. this is what
they told me happened today

Production Header-11/16/2006

Stacking Sheets-11/17/2006

Production Sheets-11/16/2006

Run Sheet-11/17/2006

Batching Sheet-11/17/2006

GRDB2 Sheet-11/17/2006


Gary,

I'm not sure how you set up your code to display the date, but it is the case
that if you switch from the 1900 to the 1904 date system, there is a 1462 day
difference. That would lead to the day of the month differing by one -- as is
occurring in some of those sheets.

Is it possible that an inconsistency with regard to the date systems, along
with either ignoring the year, or perhaps that gets processed differently so it
looks OK, be the source of the problem?


--ron
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
Problem of Crystal Reports in .NET 2002 harji4u Excel Programming 1 June 28th 05 01:30 PM
Excel2000/2002 migration problem anubhav78 Excel Discussion (Misc queries) 0 June 28th 05 11:47 AM
Excel 2002 date formulas problem Andrew Warren Excel Worksheet Functions 4 January 6th 05 11:35 AM
Problem with Excel 2002 Doc Excel Programming 8 December 29th 03 03:52 AM
Excel 97 & Excel 2002 date problem FireatHome Excel Programming 0 August 5th 03 08:23 PM


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