LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to find out country-dependent Format Codes

Hi

I fill cells with date-values via OLE from non office/VB application.

If I submit a number and set the NumberFormat of the cell to 'mm/dd/yyyy', it is correctly interpreted...for an english installation. Problem: Switching to a german installation for example will not work. This is because the Format Codes are not understood by Excel. In Germany it is required to format the year as 'JJJJ' and not 'yyyy'. I want to build an international application, which automatically chooses the right characters

Could anyone tell me, how I can detect the language/country/locale dependent valid format codes for year, day etc. ? Is it an excel property, or do I have to look in the registry

Please help

Dirk
 
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
find dependent files Vixstar Excel Discussion (Misc queries) 1 October 4th 10 08:53 AM
typing 'Up Country' ends up as Up Country' ? Martin ©¿©¬ @nohere.net Excel Discussion (Misc queries) 4 May 8th 09 06:32 PM
How can I find the alpha numeric codes in excel please,Thank you. Crazylady_2 Excel Discussion (Misc queries) 5 September 27th 05 04:27 PM
Format the Cell into a telephone number but using country code Chris Quinn Excel Discussion (Misc queries) 1 January 27th 05 03:51 PM
find top 25 codes JBoulton Excel Worksheet Functions 23 November 1st 04 11:44 PM


All times are GMT +1. The time now is 09:18 AM.

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"