A
A
Alexey Polyakov2018-12-24 23:00:40
API
Alexey Polyakov, 2018-12-24 23:00:40

How to calculate an excel table on the server using formulas from the table?

Help. We got confused to choose the option of calculating a table from xls using internal formulas, and for it to work on the server. In addition to standard arithmetic operations, various oddities are possible there, so importing a file into some standard library and counting in it, if it does not do it perfectly, is to get a broken application in the very near future. It seems that there is an option with win32api and running Excel, but the developers with whom we are now working on the issue closer to web applications, and conscience does not allow to put into work a task that cannot be implemented by standard means in advance.
What are the solutions: (a) from the standard c#, python, php libraries, (b) using win32com (who worked with them), (c) google cloud services, office365 (who worked with their api, please answer)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Anton Shamanov, 2018-12-24
@SilenceOfWinter

PHPExcel will do

D
domanskiy, 2018-12-25
@domanskiy

use Vbscript
VBS opens xls and runs script from it.

A
Andreas St, 2018-12-25
@staraday

MSSQL + Excel
Excellent solution
Or, Access + MSSQL + Excel
You can create forms in Excel.
Need more information to give advice.
Excel formulas are still calculated on the client)
It needs to be separated, it won't work without third-party server software.

Z
Zakharov Alexander, 2018-12-25
@AlexZaharow

A similar task is currently under development. Only there they also asked to add macros. You have to run excel on the server, load the page and data into it, execute macros, read the data and give it to the client. There are very large restrictions on speed, tk. the excel file needs to be opened, which is 90% of the total delay time. You also need to make sure that excel can open a dialog box. At a wrong time.
However, if you have nothing but formulas, then you can try https://handsontable.com/docs/6.2.2/demo-formula-s... . It seems to me that it is quite possible to add your own formulas if you master parsing.
Not a free component, but if the network is internal, then for tests you can dig into the sources. )))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question