Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Date format problem

Hi,

As part of a large suite of software we have an Excel spreadsheet which
takes some date values from fields in an Access table using DDE. The fields
in the Access database are just text fields, and we know that the data in
them will always be in the form dd/mm/yyyy hh:mm.

When the Excel spreadsheet grabs the data, it is displayed in the cell, but
subsequent calculations only seem to work if the Regional Setting in Control
Panel is set to English (United Kingdom). If it is set to English (United
Sates) the day and month are interpreted the wrong way round as you would
expect.

I would like to make it so that this will work regardless of the Regional
Setting in Control Panel, and have tried various cell formatting etc. But
however the data is displayed, it always seems to be interpreted as defined
in the Regional Settings.

Does anyone know a way to make this work for any setting in Regional
Settings?

Thanks for any ideas.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default Date format problem

look for a thread started by zani, "desperation setting in", on 1/15,
follow it through and se if it helps.
--


Gary


"ng598" wrote in message
...
Hi,

As part of a large suite of software we have an Excel spreadsheet which
takes some date values from fields in an Access table using DDE. The
fields
in the Access database are just text fields, and we know that the data in
them will always be in the form dd/mm/yyyy hh:mm.

When the Excel spreadsheet grabs the data, it is displayed in the cell,
but
subsequent calculations only seem to work if the Regional Setting in
Control
Panel is set to English (United Kingdom). If it is set to English (United
Sates) the day and month are interpreted the wrong way round as you would
expect.

I would like to make it so that this will work regardless of the Regional
Setting in Control Panel, and have tried various cell formatting etc. But
however the data is displayed, it always seems to be interpreted as
defined
in the Regional Settings.

Does anyone know a way to make this work for any setting in Regional
Settings?

Thanks for any ideas.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Date format problem

"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
look for a thread started by zani, "desperation setting in", on 1/15,
follow it through and se if it helps.
--


Gary


"ng598" wrote in message
...
Hi,

As part of a large suite of software we have an Excel spreadsheet which
takes some date values from fields in an Access table using DDE. The
fields
in the Access database are just text fields, and we know that the data

in
them will always be in the form dd/mm/yyyy hh:mm.

When the Excel spreadsheet grabs the data, it is displayed in the cell,
but
subsequent calculations only seem to work if the Regional Setting in
Control
Panel is set to English (United Kingdom). If it is set to English

(United
Sates) the day and month are interpreted the wrong way round as you

would
expect.

I would like to make it so that this will work regardless of the

Regional
Setting in Control Panel, and have tried various cell formatting etc.

But
however the data is displayed, it always seems to be interpreted as
defined
in the Regional Settings.

Does anyone know a way to make this work for any setting in Regional
Settings?

Thanks for any ideas.




Thanks Gary. My situation is not quite the same, but I think the
information may lead to a result.


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 Format Problem Alain Excel Discussion (Misc queries) 2 May 31st 10 04:53 PM
date format problem KevHardy Excel Discussion (Misc queries) 8 February 13th 10 09:17 AM
Excel Format Problem - Date Overrides Format Mary Excel Discussion (Misc queries) 5 February 10th 10 05:49 AM
Date format problem Natalie Excel Worksheet Functions 4 June 7th 07 01:28 PM
Date Format problem nastech Excel Discussion (Misc queries) 2 January 18th 06 01:54 AM


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