4 Replies Latest reply: May 23, 2016 9:49 AM by Andrea Cristiano RSS

    assign values to qlikview variable from vbs

    Andrea Cristiano

      Hi guys,

           i'm trying to assign a new value to qlikview variable from vbs, so i write this code:


      1 Public Sub SetValues()


      2          set x = ActiveDocument.Variables("y")


      3          y = y*k


      4          ActiveDocument.Variables("z").SetContent y, True


      5 End Sub


      but this code doesn't work.


      at 4 line qlikview tells me:


           Type doesn't correspond 'ActiveDocument.Variables(...).SetContent'


      why? what can i do?