PC Review


Reply
Thread Tools Rate Thread

Disabling the "Design Mode"

 
 
Joe
Guest
Posts: n/a
 
      21st Jan 2008
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
 
Reply With Quote
 
 
 
 
Corey
Guest
Posts: n/a
 
      21st Jan 2008
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" <(E-Mail Removed)> wrote in message
news:3deb9cee-e5cd-47e4-828b-(E-Mail Removed)...
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


 
Reply With Quote
 
Joe
Guest
Posts: n/a
 
      21st Jan 2008
On Jan 21, 9:48*am, "Corey" <M...@WorkAgain.com.au> 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" <Joe.Varghese.J...@gmail.com> wrote in message
>
> news:3deb9cee-e5cd-47e4-828b-(E-Mail Removed)...
> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disabling "group edit" mode in Excel sundarvenkata Microsoft Excel Programming 4 18th Mar 2009 07:50 PM
Can users change list box column sizes in "Form View" mode? (not Design mode) Chrisso Microsoft Access Forms 2 23rd Nov 2007 08:57 AM
Switch between Design Mode and "Running" Mode =?Utf-8?B?Y2xhcmE=?= Microsoft Excel Programming 1 19th Mar 2007 11:33 PM
Prevent "flashing" redraw of shapes on side during design mode? Alan Cobb Microsoft Powerpoint 2 14th Jun 2005 10:18 PM
"Can't execute code in design mode" when closing Outlook 2003 Rick Charnes Microsoft Outlook Discussion 0 2nd Jun 2005 05:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:10 AM.