Can Range.Value2 & Range.Formula have different values in C#, not VBA?
问题 I want to create a UDF which is like GetPath(parameter) , where parameter can be a cell reference like "B1" , or a string what the GetPath does, based on input, it will call web service to get path for input e.g. formula of cell A1=GetPath(B1) , cell B1 has some string, the function should return path and put it in cell A1, i.e. "Value2" of A1 should be path of B1. Now in C#, when I did sth FormulaCell.Value2 = path , its formula changes, too but I want "Formula" & "Value2" to be different. I