node-activex icon indicating copy to clipboard operation
node-activex copied to clipboard

@somanuell

Open coco-super opened this issue 3 years ago • 1 comments

@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

coco-super avatar Jun 16 '21 09:06 coco-super

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"?

somanuell avatar Sep 15 '21 15:09 somanuell