Can I have 2 different FILL buttons in the ribbon. One yellow and one blank?

Sylcarry87

New Member
Joined
Dec 10, 2015
Messages
5
Running Office 2010, windows 10, 64bit.

So really I want a shortcut/hotkey that removes the fill from selected cell/s.

I added another fill button to my custom group on the ribbon, but when I change the fill color of the one, it changes the fill color of the other.

I want to have a dedicated NO FILL button, shortcut, hotkey to apply no fill.

Thanks.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Hi Sylcarry87,

A simple macro would work

Press Alt+F11 -> Insert -> Module -> Paste Below;

Code:
Sub NoFill()
Selection.Interior.Pattern = xlNone
End Sub

On the developer tab click Macros -> Select "NoFill" -> Click Options -> Then assign a shortcut key i.e. "Ctrl + q"

Now Ctrl+q will be a shortcut to remove fill from whatever is selected...

If the developer tab is not visible go...File -> Options -> Customize Ribbon -> On the right hand side tick developer box (usually the only one not ticked)

Hope this helps,
Cheers,
Alan.
 
Upvote 0
No problem, happy to help :)

If you want to save more mouse miles you could do the same for your yellow fill and set it do another shortcut key

Code:
Sub YellFill()
With Selection.Interior
    .Pattern = xlSolid
    .Color = vbYellow
End With
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,703
Members
452,938
Latest member
babeneker

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top