Table of Contents

Excel file

The use of the Excel application to generate the output requires a lot of system resources if the result of the query contains many rows. This is why it is recommended to use the “Excel 2007 Workbook” format if the number of rows returned by the query exceeds a few hundred.

This option is not available by default. To have access to it, users (or the group they belong to) must have been authorized to do so in the AdminTool application (see Restriction of rights\Restitutions\Authorize restitution to particular files).

The file used as a template can be any type of Excel file. It is not necessarily an “Excel template” type file. (*.xlt).

Warning: Running a macro or updating fields requires the use of the Excel application (even if the document type is “Excel 2007 workbook”). This being said, in the case of an “Excel 2007 workbook”, only the execution of the macro or the updating of the fields will require the use of the Excel application (the data insertion will be done without the use of the Excel application, therefore, faster).

Running from Excel / Calling up external data

The call of a Vigilens query from Excel is done through the menuDataGet & transform dataFrom web.

url exemple : http://my-server/vigilens/table.php?vglCtrlName=“%2FDEMO%2F01%20Fiche%20CLIENT”&vglOutput=“XLTable”&CLIENT=4245&vglNumFormat=“%2C%2E”&vglUserName=“srivier”

Mandatory parameters

Parameters order does not matter​

It is possible to automate this processing by using Excel macros. Here is an example of a macro to be adapted according to the needs:Example macro