Closed somanuell closed 4 years ago
Since version 1.16: const readSeveralValues = comActiveSheet.Range("A1:B2").Value.valueOf(); returns a bidimensional JavaScript Array (an array of arrays): rows x columns.
@somanuell
const readSeveralValues = comActiveSheet.Range("A1:B2").Value.valueOf();
The above code works for me. But in my scene, I want to get the cell content displayed on the screen. So my code looks like this:
const readSeveralValues = comActiveSheet.Range("A1:B2").Text; // not work
Is there any way to solve it? Thank you very much
With the Microsoft JScript Engine, hosted in cscript.exe, the following code works fine:
The output is:
With node-activex, I can't read multiple cells in one call. What I have tried:
How to use node_activex to read several cells in a single call?