LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Int'l R1C1 or R1K1 or L1C1...

Thanks for the thoughts.

And for the correction on that link I posted--it's been a while since I looked
at it and forgot what was there.

Harlan Grove wrote:

Dave Peterson wrote...
I don't know of any excel translators for this kind of thing--I
have seen function translators, but they don't seem to translate
the strings passed to these special type functions.

...

And they shouldn't. But when we get to shoulds and shouldn'ts, Microsoft
shouldn't have copied 123's @CELL function so closely. There's a syntactic
device that Microsoft could have used but didn't: using # followed by words
or phrases as tokens that could have been automatically translated just like
error values (I'm assuming here that, e.g., #VALUE! differs from language
version to language version). So in English the formula

=CELL(#CONTENTS,X99)

would become, maybe,

=ZELLE(#INHALT;X99)

in German. The advantage of XLM functions is that they use numbers for this,
and numbers don't need translating. They're equally cryptic in all language
versions.

Anyway, if internationalization is important, one must avoid using CELL and
INFO *or* use a table lookup in which the top row would contain the language
ID (I'd prefer the 2-letter abbreviations, e.g., en, de, fr, es), the 2nd
row a particular valid 1st args to either CELL or INFO in the given language
CHOSEN TO DIFFER BETWEEN ALL LANGUAGES (not necessary to use the same arg
for all languages, would be OK to use Ligne for French, Parenthese for
English, Inhalt for German, etc.), the 3rd row formulas like =CELL(R[-1]C)
to evaluate the args in the 2nd row. Then lookup the nonerror value in the
3rd row of the table to determine current language (column index in the
table). Subsequent rows would then contain all the valid CELL and INFO first
arguments where all columns in each row contain translations for the same
thing. Put a column of formulas in the column TO THE LEFT of this table that
would evaluate to the current language.

This isn't the same thing that Green et al suggest in the linked chapter in
your other response. That chapter covers VBA internationalization.


--

Dave Peterson


 
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
R1C1 referencing Sandy Excel Worksheet Functions 4 May 1st 07 03:20 PM
R1C1 Arne Hegefors Excel Discussion (Misc queries) 1 August 18th 06 10:11 AM
A:1 now R1C1 Michael E W Excel Worksheet Functions 2 December 24th 05 11:38 PM
R1C1 versus A1 Stuart Grant New Users to Excel 3 October 7th 05 05:30 PM
R1C1 reference Tony S Excel Discussion (Misc queries) 1 May 10th 05 05:58 PM


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

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"