ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA WebBrowser1 Scroolbars (https://www.excelbanter.com/excel-programming/352602-vba-webbrowser1-scroolbars.html)

vqthomf

VBA WebBrowser1 Scroolbars
 
Hi I am using WebBrowser1 on a userform linked to a web cam is there any way
I can turn off the scrollbars?.
TIA
Charles

Robert ap Rhys

VBA WebBrowser1 Scroolbars
 

"vqthomf" wrote in message
...
Hi I am using WebBrowser1 on a userform linked to a web cam is there any

way
I can turn off the scrollbars?.
TIA
Charles


Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, _
URL As Variant)
WebBrowser1.Document.body.Scroll = "no"
End Sub

HTH

Robert




All times are GMT +1. The time now is 02:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com