
Partner - Contributor II
2017-01-06
08:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Impossible to open Excel with a JS Macro
Hello,
I'm using QV 11.20.12904.
I 've got a problem with a JS Macro.
I link a button with a JS macro. It tried to create an Excel.Application object and failed (var XLApp = new ActiveXObject("Excel.Application")). When I try to open an Excel Application by using a JS Macro, I received the following message : "Un composant ActiveX ne peut pas créer un objet" ( an ActiveX component can not create an object).
Is there a spécial system requirement to autorise QV to create an Excel application ?
539 Views
2 Replies

Partner - Champion III
2017-01-06
02:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check the security settings in the Module Editor. You may have to enable System Access and Allow System Access.
talk is cheap, supply exceeds demand
480 Views

Partner - Contributor II
2017-01-09
02:34 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The both are already enable.
It's look like the error is coming from the Windows OS settings.
480 Views
