Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default FormatConditions (fails in different Languages)

We are using VBA to define an Excel FormatCondition using the cod
extract shown below:

With Range("Tit_Email").Offset(Particip
0).FormatConditions
.Delete
.Add _
Type:=xlExpression, _

Formula1:="=OR(AND(ISERROR(FIND(""@"";R[0]C[0];1));len(R[0]C[0])0);RIGHT(R[0]C[0];1)=""."";RIGHT(R[0]C[0];1)="","")"
End With

This code works fine for some Regional Settings on the computer runnin
the VBA code. (E.g. "English (United States)", "English (Unite
Kingdom)", "Japanese".) But when the Regional settings are eithe
"Portuguese (Brasil)" the Add method fails. The Formula1 are no
updated to:

(L[0]C[0])0);direita(L[0]C[0];1)=""."";direita(L[0]C[0];1)="","";direita(L[0]C[0];1)=""@"")"
in Portuguese for example.

If anyone has seen this or similar problems before I would greatl
appreciate any suggestions for a solution or workaround to thi
problem. For reference, this problem was observed on systems runnin
Excel 2000 (9.0.2720) on Windows XP.

This error is similar than this another i
http://www.experts-exchange.com/Appl..._20879800.html
:( :confused

--
Message posted from http://www.ExcelForum.com

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
Multiple Languages Infexus Bytez Excel Discussion (Misc queries) 1 March 30th 10 05:18 PM
different languages Matt Excel Discussion (Misc queries) 0 June 19th 07 03:36 PM
Bug in .FormatConditions.Add Type:=xlExpression, Formula1:=cfExpression Thief_ Excel Worksheet Functions 3 April 19th 05 02:26 AM
Languages getting muddled Roger PB Excel Discussion (Misc queries) 0 March 12th 05 02:53 PM
font size on formatconditions Chip Pearson Excel Programming 0 August 13th 03 02:09 PM


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