#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default Right Click

What is the code to delete the right click on objects and charts like
"Application.CommandBars("Cell").Enabled = False" removes the right click on
cells?

Thanks for any help. It is always appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Right Click

Do you mean Shapes? There are many types of objects.

"Ronbo" wrote:

What is the code to delete the right click on objects and charts like
"Application.CommandBars("Cell").Enabled = False" removes the right click on
cells?

Thanks for any help. It is always appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default Right Click

Yes - Autoshapes, rectangles, oval etc.

"JLGWhiz" wrote:

Do you mean Shapes? There are many types of objects.

"Ronbo" wrote:

What is the code to delete the right click on objects and charts like
"Application.CommandBars("Cell").Enabled = False" removes the right click on
cells?

Thanks for any help. It is always appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Right Click

For shapes, it would be

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



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)

"Ronbo" wrote in message
...
What is the code to delete the right click on objects and charts like
"Application.CommandBars("Cell").Enabled = False" removes the right click
on
cells?

Thanks for any help. It is always appreciated.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default Right Click

Thanks Chip - Shapes was easy enough. I was hoping Charts would be that easy,
but it does not work with chart or charts.

I want to remove the two right clicks menus on a chart 1) format plot area
menu 2) format chart area menu.

Thanks,
Ronbo


"Chip Pearson" wrote:

For shapes, it would be

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



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)

"Ronbo" wrote in message
...
What is the code to delete the right click on objects and charts like
"Application.CommandBars("Cell").Enabled = False" removes the right click
on
cells?

Thanks for any help. It is always appreciated.






  #6   Report Post  
Posted to microsoft.public.excel.programming
zz zz is offline
external usenet poster
 
Posts: 32
Default Right Click

try this

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


--
hope this works!
---
zz [MX]
cuasi-musico,semi-poeta y loco

"Ronbo" wrote in message
...
Thanks Chip - Shapes was easy enough. I was hoping Charts would be that
easy,
but it does not work with chart or charts.

I want to remove the two right clicks menus on a chart 1) format plot area
menu 2) format chart area menu.

Thanks,
Ronbo


"Chip Pearson" wrote:

For shapes, it would be

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



--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)

"Ronbo" wrote in message
...
What is the code to delete the right click on objects and charts like
"Application.CommandBars("Cell").Enabled = False" removes the right
click
on
cells?

Thanks for any help. It is always appreciated.






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 create a click on + symbol to open a root and click on -. changeyourbodychallenge.com Excel Discussion (Misc queries) 1 December 28th 09 03:22 PM
How to change syperlink from single click to double click syperlinker Excel Worksheet Functions 0 June 13th 08 05:01 PM
Disabling click and right-click on the Picture I inserted in an Excel document [email protected] Excel Worksheet Functions 1 June 2nd 06 09:13 PM
Click on graph bar to execute a double-click in a pivot table cell [email protected] Charts and Charting in Excel 4 August 3rd 05 01:37 AM
Mouse Over Graph, Capture Information on Click(Double Click) Dean Hinson[_3_] Excel Programming 1 December 6th 04 04:49 AM


All times are GMT +1. The time now is 04:27 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"