+ Reply to Thread
Results 1 to 4 of 4

Disable commands Ribbon excel 2010

Hybrid View

  1. #1
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Disable commands Ribbon excel 2010

    Hi.

    In my work I use excel 2010
    I need to use this code created by ANDY POPE, Excel 2010

    Created by Andy Pope
    <customUI  xmlns="http://schemas.microsoft.com/office/2006/01/customui" >
    	<commands >
    		<command 
    			enabled="false"
    			idMso="Copy"/>
    		<command 
    			enabled="false"
    			idMso="Paste"/>
    		<command 
    			enabled="false"
    			idMso="MacroPlay"/>
    		<command 
    			enabled="false"
    			idMso="MacroRecord"/>
    		<command 
    			enabled="false"
    			idMso="VisualBasic"/>
    		<command 
    			enabled="false"
    			idMso="Cut"/>
    	</commands >
    </customUI >
    Thank you!!
    Last edited by marreco; 07-04-2012 at 08:18 AM.
    "No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,985

    Re: Disable commands Ribbon excel 2010

    And the problem is?
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Disable commands Ribbon excel 2010

    When using xl2007 ribbon xml code should be located in the customui folder of the compressed file. The name space for the xml is

    <customUI  xmlns="http://schemas.microsoft.com/office/2006/01/customui" >
    When using xl2010 the application can see both new and old (xl2007) ribbon customization, the order of use is.
    If xl2010 customization is present use it other wise use xl2007 customization if present.

    xl2010 uses a customui14 folder and the name space is
    <customUI  xmlns="http://schemas.microsoft.com/office/2009/07/customui" >
    If you are using the customUI editor with xl2010 capability then you need to use the correct Insert > CustomUI part.
    Cheers
    Andy
    www.andypope.info

  4. #4
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Disable commands Ribbon excel 2010

    Hi Andy Pope.
    I managed to solve with his precious help, Thank you very much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1