ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Disabling or Restricting Web Page Preview (https://www.excelbanter.com/excel-programming/398667-disabling-restricting-web-page-preview.html)

alexaed

Disabling or Restricting Web Page Preview
 
Hey All,
How do I disable the Web Page Preview? Is it similar to the way you
would prevent printing?

Thanks,
Ed


Ron de Bruin

Disabling or Restricting Web Page Preview
 
Hi Ed

From this page
http://www.rondebruin.nl/menuid.htm

You can use

Sub test()
Application.CommandBars("Worksheet Menu Bar").FindControl _
(ID:=3655, Recursive:=True).Enabled = False
End Sub


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"alexaed" wrote in message oups.com...
Hey All,
How do I disable the Web Page Preview? Is it similar to the way you
would prevent printing?

Thanks,
Ed



All times are GMT +1. The time now is 01:06 AM.

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