Excel VBA use localized RC formula for Conditional Formatting?

后端 未结 2 1652
半阙折子戏
半阙折子戏 2021-01-14 22:36

I\'m using polish Excel so \"R[-2]C\" is \"W[-2]C\".

In every place I tried VBA only accepted RC notation. Which is good since it will work regardless of language ve

2条回答
  •  隐瞒了意图╮
    2021-01-14 23:19

    Language independent Excel formulae for use in conditional formatting or validation rules

    Write your formula with english function names, with either A1- or R1C1-references. Assign this formula as the cell formula to an appropriate cell. This could be the cell you are about to format, or any unused cell. Then read the FormulaLocal from that cell - this is the formula you are going to use for formatting. Set the formula of the cell you used as translator to blank.

提交回复
热议问题