node-activex
node-activex copied to clipboard
@somanuell
@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
Originally posted by @coco-super in https://github.com/durs/node-activex/issues/64#issuecomment-862210619
How would you do it with cscript.exe?
Could you share some example of JavaScript code where you use
var MyAx = new ActiveXObject("Excel.Application");
and then "get the cell content displayed on the screen"?