When we get values by Range.Value
or Range.Value2
, we get the real value in excel not the same as formated text.
For example, "0.18181818" in excel may show as "0.2", and different cell has different format.
I know I can get Text value by Range.Text
but this API only support one cell. Just like mentioned in this topic: Fast way to get Excel range as array of texts or cell formats in C#?
Loop over a range and get each cell's text means access COM object each time. This cause the whole progress too slow to accept.
Any efficient way to get text just like value2?