0 Replies Latest reply: Nov 12, 2013 5:35 AM by Fien Verrue RSS

    Zoom macro not working when maximizing / minimizing window

      Hi all,

       

      I'm using the macro Zoom to fit the sheet to window:

       

      Sub Zoom

        ActiveDocument.GetApplication.WaitForIdle

        ActiveDocument.ActiveSheet.FitZoomToWindow

      End Sub

       

      This works correct while changing between the sheets, but when the user changes the window size by maximizing the Qlikview window, the macro is not triggered.

      Is there a way to activate the trigger when the size of the Qlikview window changes?