Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default VBA Excel Chart DateFormat Language Settings Locale



I have designed a little application that produces graphs in Excel and then
exports them as pictures to Powerpoint Presentations.

These powerpoints presentations are generated in five different languages.

The problem is now that I want the axis with the dates formatted according
to the different languages, i.e. that the (long) month's name is displayed
correctly.

New in Office XP you have the possibilty to format the dates of an axis
according to a specific "locale", i.e. country/language. If you choose the
axis and then right-click and choose format-axis a userform will be
displayed. In this userfom you have a tab for the numbers where you can
chosse the number fomats. If you select "date", a dropdown list for the
locales appears where you can change the language of the date-formats for the
axis.

If you use the macro recorder doing this it will result in something like
this:

Selection.TickLabels.NumberFormat = "[$-100C]d mmm yy;@"

Does anyone know where these format-codes (e.g [$-100C]) can be looked up
and how exactly they work? More specific: do these codes depend on the
language settings of Windows, of Office etc.

I went for the "excel-bible" of Bullen, Bovey et al. Although they have
specific chapter on international issues, not a single word about this.

Also on the net nothing can be found, not even mentioning the help files...
I am thankful for any hint or contact that might help.

Michael

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 115
Default VBA Excel Chart DateFormat Language Settings Locale

Hi Marabu,

Microsoft information on format codes is at
http://office.microsoft.com/en-us/as...036911033.aspx
in particular, the article 'Creating international number formats' may help
you.

Ed Ferrero
Microsoft Excel MVP
http://www.edferrero.com

Does anyone know where these format-codes (e.g [$-100C]) can be looked up
and how exactly they work? More specific: do these codes depend on the
language settings of Windows, of Office etc.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default VBA Excel Chart DateFormat Language Settings Locale



"Ed Ferrero" wrote:

Hi Marabu,

Microsoft information on format codes is at
http://office.microsoft.com/en-us/as...036911033.aspx
in particular, the article 'Creating international number formats' may help
you.

Ed Ferrero
Microsoft Excel MVP
http://www.edferrero.com

Does anyone know where these format-codes (e.g [$-100C]) can be looked up
and how exactly they work? More specific: do these codes depend on the
language settings of Windows, of Office etc.





Hi Ed

Thanx very much. This was exactly what I was looking for.


Michael
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
Different Language Settings... Trevor Williams Excel Worksheet Functions 5 May 6th 08 03:00 PM
excel language settings/cell format boernd Excel Discussion (Misc queries) 1 June 20th 05 12:45 PM
DDE and MS Office Language Settings DDE_User Excel Programming 0 May 6th 05 01:46 PM
override locale computer settings n.almeida Excel Discussion (Misc queries) 3 February 18th 05 12:00 AM
Language settings jacob[_3_] Excel Programming 3 September 12th 03 01:48 PM


All times are GMT +1. The time now is 06:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"