Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Range names are created with the English format : for ex. _15_Feb_06

Hello,
I'm using Excel 2003 French version.
In a spreadsheet, I have a serie of dates such as 1-févr-06; 15-févr-06;
1-mars-06; 15-mars-06... (with an abbreviation of the French months name)

A VBA Sub creates range names by doing the equivalent of: Insert / Names /
Create / Upper row.
This sub worked fine in Excel 2000.
In the 2003 version, all range names are created with the English format :
for ex. _15_Feb_06 instead of _15_févr_06.
Of course, the following sub doesn't find anything!
How can I fix this issue?

Thanks for your help

Gérard


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Range names are created with the English format : for ex. _15_Feb_06

Hi Gérard,

Please post the code of the Sub

--
Kind regards,

Niek Otten

"Gérard Ducouret" wrote in message
...
Hello,
I'm using Excel 2003 French version.
In a spreadsheet, I have a serie of dates such as 1-févr-06; 15-févr-06;
1-mars-06; 15-mars-06... (with an abbreviation of the French months name)

A VBA Sub creates range names by doing the equivalent of: Insert / Names
/
Create / Upper row.
This sub worked fine in Excel 2000.
In the 2003 version, all range names are created with the English format :
for ex. _15_Feb_06 instead of _15_févr_06.
Of course, the following sub doesn't find anything!
How can I fix this issue?

Thanks for your help

Gérard




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Range names are created with the English format : for ex. _15_Feb_06

Hi Niek,

The code of the Sub is :
Sub CréeNoms()
Range("Angle").Select
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
Selection.CreateNames Top:=True, Left:=True, Bottom:=False, Right:=False
End Sub

NB : In the Control Panel, Regional Setting, Language, I have
Français(France)

When I do the operation manually, the months names are in French (such as
_15_févr_06)
When I run the Sub, they are created in English : _15_Feb_06

Thanks for your help,

Gérard


"Niek Otten" a écrit dans le message de
...
Hi Gérard,

Please post the code of the Sub

--
Kind regards,

Niek Otten

"Gérard Ducouret" wrote in message
...
Hello,
I'm using Excel 2003 French version.
In a spreadsheet, I have a serie of dates such as 1-févr-06; 15-févr-06;
1-mars-06; 15-mars-06... (with an abbreviation of the French months

name)

A VBA Sub creates range names by doing the equivalent of: Insert /

Names
/
Create / Upper row.
This sub worked fine in Excel 2000.
In the 2003 version, all range names are created with the English format

:
for ex. _15_Feb_06 instead of _15_févr_06.
Of course, the following sub doesn't find anything!
How can I fix this issue?

Thanks for your help

Gérard






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
Using english and non-English Excel commands simultaneously in anon-English installation Michael.Tarnowski Excel Worksheet Functions 6 March 12th 10 07:21 AM
Excel 2007 not saving user-created range names Bruce Excel Discussion (Misc queries) 0 August 27th 08 08:49 PM
Worksheet created in French version doesn't work in English versio RyanS Excel Discussion (Misc queries) 4 January 28th 08 09:19 PM
copy range on every worksheet (diff names) to a master worksheet (to be created) Bernie[_2_] Excel Programming 2 September 22nd 04 03:30 PM
copy range on every worksheet (diff names) to a master worksheet (to be created) Bernie[_3_] Excel Programming 0 September 22nd 04 03:26 PM


All times are GMT +1. The time now is 01:49 AM.

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"