PC Review


Reply
Thread Tools Rate Thread

Context Menu (Sub-Menu Disable/Enable)

 
 
=?Utf-8?B?SlJfMDYwNjIwMDU=?=
Guest
Posts: n/a
 
      31st Aug 2006
By right clicking on a cell I get a context menu where I can choose Insert...
or Delete... Each of these choices produces a sub-menu: Shift cells right,
Shift cells left, Insert Entire Row, Insert Entire Column. The Delete option
has the same sub-menu except it is for the delete option.

I know how to disable or make invisible an option:

Application.CommandBars("cell").Controls("Insert...").Visible = False
Application.CommandBars("cell").Controls("Insert...").Enable = False

My question is how do I disable or make invisible only a sub-menu item such
as "Insert Entire Row"?

 
Reply With Quote
 
 
 
 
Peter T
Guest
Posts: n/a
 
      31st Aug 2006
I don't think there's anything to add to the answer given by Ron de Bruin to
the same question you posted a couple of days ago.

Regards,
Peter T

"JR_06062005" <(E-Mail Removed)> wrote in message
news:04502B37-51BE-45EE-ABD5-(E-Mail Removed)...
> By right clicking on a cell I get a context menu where I can choose

Insert...
> or Delete... Each of these choices produces a sub-menu: Shift cells

right,
> Shift cells left, Insert Entire Row, Insert Entire Column. The Delete

option
> has the same sub-menu except it is for the delete option.
>
> I know how to disable or make invisible an option:
>
> Application.CommandBars("cell").Controls("Insert...").Visible = False
> Application.CommandBars("cell").Controls("Insert...").Enable = False
>
> My question is how do I disable or make invisible only a sub-menu item

such
> as "Insert Entire Row"?
>



 
Reply With Quote
 
=?Utf-8?B?SlJfMDYwNjIwMDU=?=
Guest
Posts: n/a
 
      31st Aug 2006
It's true I did ask the same question a couple of days ago under the title
"Disable Sub-Menu of a Context Menu", but my screen does not show that anyone
responded to the question.

Are you sure Ron's answer was to my question? Like I said, on my screen,
there is no answer to my first posting.

If you have any ideas how I can view Ron's answer, I would appreciate it.

"Peter T" wrote:

> I don't think there's anything to add to the answer given by Ron de Bruin to
> the same question you posted a couple of days ago.
>
> Regards,
> Peter T
>
> "JR_06062005" <(E-Mail Removed)> wrote in message
> news:04502B37-51BE-45EE-ABD5-(E-Mail Removed)...
> > By right clicking on a cell I get a context menu where I can choose

> Insert...
> > or Delete... Each of these choices produces a sub-menu: Shift cells

> right,
> > Shift cells left, Insert Entire Row, Insert Entire Column. The Delete

> option
> > has the same sub-menu except it is for the delete option.
> >
> > I know how to disable or make invisible an option:
> >
> > Application.CommandBars("cell").Controls("Insert...").Visible = False
> > Application.CommandBars("cell").Controls("Insert...").Enable = False
> >
> > My question is how do I disable or make invisible only a sub-menu item

> such
> > as "Insert Entire Row"?
> >

>
>
>

 
Reply With Quote
 
Peter T
Guest
Posts: n/a
 
      31st Aug 2006
The ng is archived in Gougle Groups

http://tinyurl.com/jsvm7

Regards,
Peter T


"JR_06062005" <(E-Mail Removed)> wrote in message
news7F4D05F-2A34-4607-9EB7-(E-Mail Removed)...
> It's true I did ask the same question a couple of days ago under the

title
> "Disable Sub-Menu of a Context Menu", but my screen does not show that

anyone
> responded to the question.
>
> Are you sure Ron's answer was to my question? Like I said, on my screen,
> there is no answer to my first posting.
>
> If you have any ideas how I can view Ron's answer, I would appreciate it.
>
> "Peter T" wrote:
>
> > I don't think there's anything to add to the answer given by Ron de

Bruin to
> > the same question you posted a couple of days ago.
> >
> > Regards,
> > Peter T
> >
> > "JR_06062005" <(E-Mail Removed)> wrote in message
> > news:04502B37-51BE-45EE-ABD5-(E-Mail Removed)...
> > > By right clicking on a cell I get a context menu where I can choose

> > Insert...
> > > or Delete... Each of these choices produces a sub-menu: Shift cells

> > right,
> > > Shift cells left, Insert Entire Row, Insert Entire Column. The Delete

> > option
> > > has the same sub-menu except it is for the delete option.
> > >
> > > I know how to disable or make invisible an option:
> > >
> > > Application.CommandBars("cell").Controls("Insert...").Visible = False
> > > Application.CommandBars("cell").Controls("Insert...").Enable = False
> > >
> > > My question is how do I disable or make invisible only a sub-menu item

> > such
> > > as "Insert Entire Row"?
> > >

> >
> >
> >



 
Reply With Quote
 
=?Utf-8?B?SlJfMDYwNjIwMDU=?=
Guest
Posts: n/a
 
      31st Aug 2006
Impressive url! Thanks.

"Peter T" wrote:

> The ng is archived in Gougle Groups
>
> http://tinyurl.com/jsvm7
>
> Regards,
> Peter T
>
>
> "JR_06062005" <(E-Mail Removed)> wrote in message
> news7F4D05F-2A34-4607-9EB7-(E-Mail Removed)...
> > It's true I did ask the same question a couple of days ago under the

> title
> > "Disable Sub-Menu of a Context Menu", but my screen does not show that

> anyone
> > responded to the question.
> >
> > Are you sure Ron's answer was to my question? Like I said, on my screen,
> > there is no answer to my first posting.
> >
> > If you have any ideas how I can view Ron's answer, I would appreciate it.
> >
> > "Peter T" wrote:
> >
> > > I don't think there's anything to add to the answer given by Ron de

> Bruin to
> > > the same question you posted a couple of days ago.
> > >
> > > Regards,
> > > Peter T
> > >
> > > "JR_06062005" <(E-Mail Removed)> wrote in message
> > > news:04502B37-51BE-45EE-ABD5-(E-Mail Removed)...
> > > > By right clicking on a cell I get a context menu where I can choose
> > > Insert...
> > > > or Delete... Each of these choices produces a sub-menu: Shift cells
> > > right,
> > > > Shift cells left, Insert Entire Row, Insert Entire Column. The Delete
> > > option
> > > > has the same sub-menu except it is for the delete option.
> > > >
> > > > I know how to disable or make invisible an option:
> > > >
> > > > Application.CommandBars("cell").Controls("Insert...").Visible = False
> > > > Application.CommandBars("cell").Controls("Insert...").Enable = False
> > > >
> > > > My question is how do I disable or make invisible only a sub-menu item
> > > such
> > > > as "Insert Entire Row"?
> > > >
> > >
> > >
> > >

>
>
>

 
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
Disable Sub-Menu of a Context Menu =?Utf-8?B?SlJfMDYwNjIwMDU=?= Microsoft Excel Programming 1 29th Aug 2006 09:46 PM
Disable a context menu in sys tray?? Amil Hanish Microsoft Dot NET Framework Forms 1 30th Jun 2006 04:57 AM
Disable Context Menu Jared Microsoft Dot NET Framework Forms 2 28th Apr 2006 01:08 AM
Disable Start Menu context menu? =?Utf-8?B?bW9pbmR5Y3Vicw==?= Microsoft Windows 2000 Group Policy 4 11th May 2005 10:46 PM
disable context menu for the following situation suresh kaki via DotNetMonster.com Microsoft ASP .NET 0 17th Feb 2005 12:29 PM


Features
 

Advertising
 

Newsgroups
 


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