ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Disabling Page Setup? (https://www.excelbanter.com/excel-discussion-misc-queries/35341-disabling-page-setup.html)

Plazzma

Disabling Page Setup?
 

Hi, I'm fairly new to Excel and was wondering how one might be able to
Disable the Page Setup menu in Excel? Any suggestions would be
appreciated. Thank you.


--
Plazzma
------------------------------------------------------------------------
Plazzma's Profile: http://www.excelforum.com/member.php...o&userid=25234
View this thread: http://www.excelforum.com/showthread...hreadid=387228


Ron de Bruin

Hi

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

You must also disable printpreview
See for more info
http://www.rondebruin.com/menuid.htm


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Plazzma" wrote in message
...

Hi, I'm fairly new to Excel and was wondering how one might be able to
Disable the Page Setup menu in Excel? Any suggestions would be
appreciated. Thank you.


--
Plazzma
------------------------------------------------------------------------
Plazzma's Profile: http://www.excelforum.com/member.php...o&userid=25234
View this thread: http://www.excelforum.com/showthread...hreadid=387228





All times are GMT +1. The time now is 03:43 PM.

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