Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Disabling the "Design Mode"

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 363
Default Disabling the "Design Mode"

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Disabling the "Design Mode"

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I turn on/off "Design mode" in Excel 2007 easybuild Excel Discussion (Misc queries) 2 April 3rd 23 11:10 AM
Disabling the "&[Time]" or "&[T]" in Excel headers and footers John Mirabella Excel Discussion (Misc queries) 2 January 15th 10 02:54 PM
What does this mean? "Can't execute code in design mode" Danni2004 Excel Discussion (Misc queries) 4 September 27th 07 11:22 PM
Switch between Design Mode and "Running" Mode clara Excel Programming 1 March 19th 07 11:33 PM
Error Msg "Can't Exit Design Mode" chad Excel Discussion (Misc queries) 0 February 8th 07 10:00 PM


All times are GMT +1. The time now is 05:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"