Excel Macro, inserting internationally valid formula during run-time

前端 未结 6 701
无人共我
无人共我 2020-12-01 15:59

I\'ve got an Excel spreadsheet, with a Macro, that inserts a conditional formatting, like this:

Selection.FormatConditions.Add Type:=xlExpression, Formula1:=         


        
6条回答
  •  南方客
    南方客 (楼主)
    2020-12-01 16:52

    Maybe try this (untested as I only have English version insatlled)

    Write your international version of the formula to an out of the way cell using Range.Formula . Then read it back from Range.FormulaLocal, and write that string to the FormatConditions

提交回复
热议问题