Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
hopkinsc
Partner - Specialist III
Partner - Specialist III

zoom

Hi,

Is it possible to use a custom zoom instead of the standard :

25% 50% 75% 100% 125% 150% 175% 200% 400%

I know i can use the 'Fit Zoom to Window' option, but i would like if possible the user to input a zoom level themselves using an input box or selecting from a list box.

Thanks

11 Replies
tanelry
Partner - Creator II
Partner - Creator II

Check if your variable is called "zoom".

If not change the Evaluate(...) line to find your variable name:

zoomvalue = ActiveDocument.Evaluate("num(YOURVARIABLE)")

Also make sure there is no fields with the same name.

hopkinsc
Partner - Specialist III
Partner - Specialist III
Author

Ahh, found it!!

My variable was called zoom but with a CAPITAL Z!

All working now!

thanks for your help.