Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If you really want to disable the "View Code" ...
Application.CommandBars("Ply").Controls("&View Code").Enabled=False to gray out, or Application.CommandBars("Ply").Controls("&View Code").Visible=False to hide. Of course, the OP should realize that executing either of those lines of code won't stop the user from being able to press Alt+F11 or clicking Tools/Macro/Visual Basic Editor. -- Rick (MVP - Excel) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Lost "File Menu" - now it's "Edit / View / Insert.." but no "F | Excel Discussion (Misc queries) | |||
Disable the "view code" option | Excel Programming | |||
Missing "Custom View" entry from View menu | Excel Discussion (Misc queries) | |||
Password visible if user selects "view code" | Excel Worksheet Functions | |||
disabling the "view code" tab - sheet protection? | Excel Programming |