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: 
paulyeo11
Master
Master

Scrol bar how to move to right using button action ?

Hi All

I have a table , there is a scrol bar it will alway move to left , may i know how to make it move to right by button action ?

2 Replies
juleshartley
Specialist
Specialist

HI,

I'm afraid this doesn't work from a button.. it will only work when opening the document. I think this is because it sets the starting position or something. Anyway, code is something like...

sub mcrScroll

          set chart = ActiveDocument.GetSheetObject("CH229784")

          set p = chart.GetProperties

 

          p.ChartProperties.XScrollInitRight = true 

          chart.SetProperties p

end sub

Hope that helps!

paulyeo11
Master
Master
Author

Thank you very much for your advise.