PC Review


Reply
Thread Tools Rate Thread

Disabling Button Commands in 2007

 
 
=?Utf-8?B?ZGFfZ2w=?=
Guest
Posts: n/a
 
      14th Apr 2007
Historically you could disable Save, Save As, Exit, etc by using the
following:

Application.CommandBars("Worksheet menu
bar").Controls("File").Controls("Exit").Enabled = False

How to do this in Excel 2007?
 
Reply With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      14th Apr 2007
hi da_gl

See this page
http://www.rondebruin.nl/ribbon.htm


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"da_gl" <(E-Mail Removed)> wrote in message news:BC2B2AD8-A555-45AC-A8C5-(E-Mail Removed)...
> Historically you could disable Save, Save As, Exit, etc by using the
> following:
>
> Application.CommandBars("Worksheet menu
> bar").Controls("File").Controls("Exit").Enabled = False
>
> How to do this in Excel 2007?

 
Reply With Quote
 
=?Utf-8?B?ZGFfZ2w=?=
Guest
Posts: n/a
 
      16th Apr 2007
Ron - thank you very much. This write-up is very helpful. Look like exactly
what i needed.

da_gl

"Ron de Bruin" wrote:

> hi da_gl
>
> See this page
> http://www.rondebruin.nl/ribbon.htm
>
>
> --
>
> Regards Ron de Bruin
> http://www.rondebruin.nl/tips.htm
>
>
> "da_gl" <(E-Mail Removed)> wrote in message news:BC2B2AD8-A555-45AC-A8C5-(E-Mail Removed)...
> > Historically you could disable Save, Save As, Exit, etc by using the
> > following:
> >
> > Application.CommandBars("Worksheet menu
> > bar").Controls("File").Controls("Exit").Enabled = False
> >
> > How to do this in Excel 2007?

>

 
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
Access 2007 Office Button contains only two commands ladyslim Microsoft Access Security 1 22nd Jun 2008 07:30 AM
Disabling Keyboard Commands =?Utf-8?B?RnJlZA==?= Microsoft Word Document Management 1 16th Aug 2006 09:37 PM
Disabling of Cut and Paste commands on CELL =?Utf-8?B?TWFyaw==?= Microsoft Excel Programming 2 7th Apr 2006 02:39 PM
Disabling ALL commands on CELL Shortcut menu =?Utf-8?B?UGV0ZXIgUm9vbmV5?= Microsoft Excel Programming 3 16th Aug 2005 03:00 PM
Disabling Commands Loomah Microsoft Excel Programming 1 16th Jan 2004 12:52 PM


Features
 

Advertising
 

Newsgroups
 


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