View Single Post
 
Old 09-02-2018, 12:00 PM
pigsfoot pigsfoot is offline Windows 10 Office 2016
Novice
 
Join Date: Sep 2018
Posts: 4
pigsfoot is on a distinguished road
Default Change zoom level on Web Browser Control

Hi,


I am using the web browser control on a slide that is 16:9 portrait orientated and the web page i need to display isn't responsive in that when not displayed in landscape view you get slide bars on teh bottom and side of the webpage.



Is there a way to control the magnification or zoom level in the browser control. I know that if i set my screen to only 50% magnification the web page will display properly. I am using a macro to load the web browser control via a button on another slide to load the page so the zoom control will need to be built into that macro i expect.


Code:
Sub go2URL_Offers()
   Application.SlideShowWindows(1).View.GotoSlide Index:=2
   Dim varURL As Variant

   varURL = "http://www.hinckleybid.co.uk/loyalty-card"
   Slide2.WebBrowser1.Navigate varURL
End Sub

Thanks
Reply With Quote