PC Review


Reply
Thread Tools Rate Thread

Disable right click with a difference

 
 
Gordon
Guest
Posts: n/a
 
      7th Oct 2008
Hi...

I have a workbook (2003) with all command/tool bars removed on workbook_open
and right click disabled. However, I have a floating toolbar which can be
dragged to the top of each sheet where it docks. When it docks it allows the
user to right click and have the option of having any toolbar they want.

How can I have my floating toolbar dock and the right click facility in the
toolbar area be disabled.

Application.CommandBars("Ply").Enabled = False

I know this code disables right clicking over the spreadsheet but it doesn't
prevent right clicking in the toolbar area.

Thanks

Gordon...


 
Reply With Quote
 
 
 
 
Jim Rech
Guest
Posts: n/a
 
      7th Oct 2008
CommandBars("Toolbar List").Enabled = False
--
Jim
"Gordon" <(E-Mail Removed)> wrote in message
news:ECB7F8D4-6817-47BD-85CA-(E-Mail Removed)...
| Hi...
|
| I have a workbook (2003) with all command/tool bars removed on
workbook_open
| and right click disabled. However, I have a floating toolbar which can be
| dragged to the top of each sheet where it docks. When it docks it allows
the
| user to right click and have the option of having any toolbar they want.
|
| How can I have my floating toolbar dock and the right click facility in
the
| toolbar area be disabled.
|
| Application.CommandBars("Ply").Enabled = False
|
| I know this code disables right clicking over the spreadsheet but it
doesn't
| prevent right clicking in the toolbar area.
|
| Thanks
|
| Gordon...
|
|

 
Reply With Quote
 
Gordon
Guest
Posts: n/a
 
      7th Oct 2008
Big Green tick for you!!!!

"Jim Rech" wrote:

> CommandBars("Toolbar List").Enabled = False
> --
> Jim
> "Gordon" <(E-Mail Removed)> wrote in message
> news:ECB7F8D4-6817-47BD-85CA-(E-Mail Removed)...
> | Hi...
> |
> | I have a workbook (2003) with all command/tool bars removed on
> workbook_open
> | and right click disabled. However, I have a floating toolbar which can be
> | dragged to the top of each sheet where it docks. When it docks it allows
> the
> | user to right click and have the option of having any toolbar they want.
> |
> | How can I have my floating toolbar dock and the right click facility in
> the
> | toolbar area be disabled.
> |
> | Application.CommandBars("Ply").Enabled = False
> |
> | I know this code disables right clicking over the spreadsheet but it
> doesn't
> | prevent right clicking in the toolbar area.
> |
> | Thanks
> |
> | Gordon...
> |
> |
>
>

 
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
Re: Difference between Button click and IPostBackEventHandler Louis Somers Microsoft ASP .NET 2 24th Sep 2008 09:40 AM
what is the difference between no-touch and click-once deployment? zbcong Microsoft C# .NET 2 2nd Feb 2005 09:14 AM
what is the difference between no-touch and click-once deplo zhebincong Microsoft Dot NET 2 24th Sep 2004 03:01 AM
difference between right and left click. daisy Microsoft Word New Users 1 11th May 2004 05:25 PM
Difference Between Click and F5? bdwise Microsoft ASP .NET 2 2nd Feb 2004 06:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:14 PM.