Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
kamakshisuram
Creator
Creator

Macro not working in Windows Xp

Hi All,

I written below Zoom Macro in QVW and it called from Button Action. Which is working fine If I open the dashboard in Windows7 Machine in IE Plug in mode. But not working in Window Xp Machines.

Sub Zoom

ActiveDocument.GetApplication.WaitForIdle

ActiveDocument.ActiveSheet.FItZoomToWindow

End Sub

Any clue in this case? does Macro's work in Win Xp's?  Please suggest.

Regards,

Kamakshi Suram

8 Replies
vikramv
Creator III
Creator III

Hi ,

Please check Allow System Access setting is done in Macro level in the Edit Module Security options.

Thanks,

Vikram.

jonathandienst
Partner - Champion III
Partner - Champion III

The issue is not related to Windows XP; the users with XP are probably using Ajax mode, and the FitZoomToWindow api does not work in Ajax mode. There is an extension for this purpose, but I have not used it myself. Search here for "FitZoomToWindow extension".

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
kamakshisuram
Creator
Creator
Author

Thanks for response.

Allow System Access setting is checked. And I opened it in Windows XP in IE Plug in mode. But Still it is not working.

I can not share you the document But below is the screen print for the same. Please help me is thing thing wrong.

Capture.JPG

vikramv
Creator III
Creator III

Please change Requested Module Security also to 'System Access' and test.

kamakshisuram
Creator
Creator
Author

I tried that too. But no change.

vikramv
Creator III
Creator III

Can attach the error message while opening through Internet Explorer in IE Plugin Mode ??

jonathandienst
Partner - Champion III
Partner - Champion III

Kamakshi Suram wrote:

And I opened it in Windows XP in IE Plug in mode. But Still it is not working.

Your screen shot shows the document in QV desktop rather than the browser. Is the QV plugin the same version of QV as the server?

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
kamakshisuram
Creator
Creator
Author

Hi jonathan,

yes. It is same version.