Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have some problem in my excel when the user clicks the "Design
Mode". I have protected the Workbook, Worksheet and the VBA Code as well. So, although the user cannot enter the VBA Code, when he selects that button, some of the codes are not working. I have some code on "Workbook Open()" and I think this is the problem area. How can I disable the user from clicking the "Design Mode". Many thanks... Joe |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Why not use the WorkBook Open code to HIDE the Control ToolBox Tool Bar
Private Sub Workbook_Open() Application.CommandBars("Control Toolbox").Visible = False End Sub This way they cannot click on what is NOT there in the first place. Corey... "Joe" wrote in message ... I have some problem in my excel when the user clicks the "Design Mode". I have protected the Workbook, Worksheet and the VBA Code as well. So, although the user cannot enter the VBA Code, when he selects that button, some of the codes are not working. I have some code on "Workbook Open()" and I think this is the problem area. How can I disable the user from clicking the "Design Mode". Many thanks... Joe |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Jan 21, 9:48*am, "Corey" wrote:
Why not use the WorkBook Open code to HIDE the Control ToolBox Tool Bar Private Sub Workbook_Open() Application.CommandBars("Control Toolbox").Visible = False End Sub This way they cannot click on what is NOT there in the first place. Corey... "Joe" wrote in message ... I have some problem in my excel when the user clicks the "Design Mode". I have protected the Workbook, Worksheet and the VBA Code as well. So, although the user cannot enter the VBA Code, when he selects that button, some of the codes are not working. I have some code on "Workbook Open()" and I think this is the problem area. How can I disable the user from clicking the "Design Mode". Many thanks... Joe Thanks Corey. That works for a general user. But still the user can turn on the visibility.. can we prevent that somehow ?? Thanks.. Joe |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I turn on/off "Design mode" in Excel 2007 | Excel Discussion (Misc queries) | |||
Disabling the "&[Time]" or "&[T]" in Excel headers and footers | Excel Discussion (Misc queries) | |||
What does this mean? "Can't execute code in design mode" | Excel Discussion (Misc queries) | |||
Switch between Design Mode and "Running" Mode | Excel Programming | |||
Error Msg "Can't Exit Design Mode" | Excel Discussion (Misc queries) |