Think you may have a typo in the setting of the variable - it says IeorAjax when it should say IeOrAjax.
Also you could replace the 'ActiveDocument.Variables' with 'doc.Variables', just for consistency.
Also do you really want the true rather than a false (true means it is added to the MRU 'Most Recently Used' list)?
Thanks for you help Gordon.
You are correct I do not really need TRUE for the MRU, so I set it FALSE.
The variable name change did not seem to impact the results.
I am trying to pass a 1 or a 0 out to the QliView variable vIEorAJAX in order to use it to conditionally show a calendar control.
However, QTProduct never returns QlikOcx when the client used to open it is using the IE plugin.
Hmm. I use v9sr4 and it works ok - see the attached example.
Is the variable defined? Is the macro attached to the OnOpen trigger?
Other than that it looks like it could be a bug.
t1.qvw 114.5 K
Thanks for the example.
I do have the macro on the OnOpen trigger for the Document. I think the difference may be that I am using 64 bit.
It seems to work if I put the macro on the OnActivate sheet trigger. However, do you know if you can force the sheet to OnActivate when the document opens? The OnActivate only works currently when you actually select the sheet.
Hi Miguel Angel Baeyens
I have facing this problem can you please help me
I am facing this problem can you please help me.
macro parsed failed Functionality was lost
Export_To_Microsoft_word ' macro name
Error " the file could not be found
("C:\....\standard template.docx") ' i am taking this template for inserting some Bitmap and Charts
this error Comes when I am login with access point and firing the macro.
but on the server it is working well the only problem id is coming when I am loggging with access point.