I
I
Ivan2016-11-28 18:59:43
JavaScript
Ivan, 2016-11-28 18:59:43

Working with Excel via COM in JavaScript?

One desktop software has a JavaScript API that allows you to extract data from it by executing a script inside the software. The data needs to be "shove" in Excel. Connected like this: Ex = NewCOMObject('Excel.Application');
Questions:
1.Where can I find the correct documentation for working with Excel via COM in JavaScript? (I'm sorry, but I don't understand which "correct" part of the methods works / part doesn't.
2. Can there be other ways to upload data to Excel?
I would be grateful for any links on the topic.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rou1997, 2016-11-28
@Rou1997

One desktop software has a JavaScript API

Only in this "software" you can see if it has documentation, if not - ask, if they don't give you - reverse engineering to help, if you don't know how to do this - then it's better to contact a specialist who knows how, most likely without options, you don't have a complete standard.
You can search for JScript which is in Internet Explorer and Windows, you don't actually have it, but it might be something similar.
Too a question to "softina".

R
Ravshan Abdulaev, 2016-11-28
@ravshanium

XPath is used, JavaScript works with XPath, Excel also supports this language: https://msdn.microsoft.com/en-us/library/office/ff...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question