+ Reply to Thread
Results 1 to 4 of 4

Disable formatting box on right-click

  1. #1
    Forum Contributor
    Join Date
    03-29-2013
    Location
    US
    MS-Off Ver
    Office 2016
    Posts
    109

    Disable formatting box on right-click

    I find the extra little format command box that comes up in Excel when you right-click to be annoying. Is there an option to disable it?

    Apparently this isn't what they call the 'Mini Toolbar' which appears when you select some text in a cell. I actually kind of like that feature. I did try disabling it ('Show Mini Toolbar on selection'), though, and it has no effect on the right-click behavior.

  2. #2
    Forum Contributor
    Join Date
    03-29-2013
    Location
    US
    MS-Off Ver
    Office 2016
    Posts
    109

    Re: Disable formatting box on right-click

    Found this, which works. Apparently there's nowhere in the options to set it.

    Using regedit, at the following key:

    HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Toolbars\Excel

    Create a DWORD entry with the name of 'AllowMenuFloaties' and a value of 0. That will keep the menu from appearing.

    After finding that and searching this forum, I found one other thread that talks about it:

    https://www.excelforum.com/excel-gen...at-i-hate.html

  3. #3
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Disable formatting box on right-click

    I assume that you don't want to disable right-click functionality entirely, just the formatting box (font name, font size, etc).

    There are two ways to do this.


    The first, and easiest, uses the Visual Basic Editor (VBE) Immediate Window.
    1. In Excel, press Alt-F11 to open the VBE.
    2. Press Ctrl-G to open the Immediate Window (or open it using the View menu).
    3. In the immediate window, enter this:
    Application.ShowMenuFloaties = Application.ShowMenuFloaties
    (Yes, it looks strange as there's no 'Not' or 'False' but it's correct.)
    4. Press Enter.
    5. That's it - the little toolbar is now gone.
    6. If you want to re-enable it, do exactly the same again - the command is a toggle.


    The second method involves editing the registry. You should only do this if you are confident with the registry - and always make a back-up first in case something goes wrong.
    a. Open Regedit and navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Toolbars\Excel
    (for 2013 the version number is 15.0 instead of 16.0; 2010 is 14.0, 2007 is 12.0, 2003 is 11.0)
    b. Right click on the RHS and choose New then DWORD (32-bit) Value
    c. In the value field enter AllowMenuFloaties
    d. That's it. Don't alter any values. Just close regedit.
    Edit: I see I was beaten to it with the registry edit info, but I'll leave it here anyway.
    Edit 2: If you try the VBE solution first and then go to the registry, you'll find that the DWord is already there. A value of 0 is 'don't display' and 1 is 'display'. If you've amended the 'Mini toolbar' option in Options (as you said you tried) there will also be a DWord for it: 'AllowSelectionFloaties' - also 0 = off, 1 = on.




    Hope that helps.
    Last edited by Aardigspook; 07-21-2021 at 03:13 PM.
    Regards,
    Aardigspook

    I recently started a new job so am a bit busy and may not reply quickly. Sorry - it's not personal - I will reply eventually.
    If your problem is solved, please go to 'Thread Tools' above your first post and 'Mark this Thread as Solved'.
    If you use commas as your decimal separator (1,23 instead of 1.23) then please replace commas with semi-colons in your formulae.
    You don't need to give me rep if I helped, but a thank-you is nice.

  4. #4
    Forum Expert
    Join Date
    03-20-2015
    Location
    Primarily UK, sometimes NL
    MS-Off Ver
    Work: Office 365 / Home: Office 2010
    Posts
    2,405

    Re: Disable formatting box on right-click

    Thanks for the rep and for marking the thread as Solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Custom Right Click Menu and Sub-menu (disable inbuilt right click menu item)
    By analystbank in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-28-2020, 04:27 AM
  2. [SOLVED] right click disable
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-26-2012, 04:51 AM
  3. [SOLVED] How to disable the right click on the worksheet tab?
    By Don P in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-10-2006, 12:40 PM
  4. Disable Right Click in Spreadsheet
    By Tywardreath in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-04-2005, 04:05 PM
  5. Disable Click event
    By Ashman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-22-2005, 03:05 PM
  6. [SOLVED] disable right click menu
    By JT in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-01-2005, 01:06 PM
  7. Disable right click
    By bhavesh78 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2005, 12:22 PM

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