Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I'm using Excel 2000 sp3, and i have some code that tries to do this (and generally succeeds): With rngTarget.FormatConditions.Add( _ Type:=xlExpression, _ Formula1:="=if(or(" & rngTargetTopCell.Address(False, False) & strOperator _ & rngRed1.Address(False, False) & "," & rngTargetTopCell.Address(False, False) _ & strOperator & rngRed2.Address(False, False) & "),True,False)") However, when someone at the company plant in Spain tries to run the code (in Excel XP or whatever it's called, Excel 2003 maybe?), when it hits the above line, error. After a long slow debugging session over the internet between myself (not a Spanish communicator) and the user in Spain (who speaks decent English but knows nothing about visual basic, programming, or most excel worksheet functions, I discovered that instead of trying to put in the conditional format of "=if(or(w3u3,w3t3),true,false)", I have to somehow get visual basic to put in "=si(O(w3u3;w3t3),verdadero,falso)" for the conditional format (not only are the formulas different as one might expect but semicolons instead of commas between the Or/O function arguments) Yet I also know that if I send them a file where the formatting was done in english, it will translate to spanish - how do I get VB to do that on the fly? Anyone have any help here? (please reply to the ng) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Format dates from English to Spanish | Excel Worksheet Functions | |||
How do I switch my numbering in Excel from Spanish to English? | Excel Discussion (Misc queries) | |||
visual basic .net and excel problem | Excel Programming | |||
Converting excel currently in english to spanish | Excel Programming | |||
How do I Translate English-Spanish in Excel | Excel Discussion (Misc queries) |