How do I create a shortcut to fill cells with the same background colour

I have recently starting using Numbers, being an Excel user for years.

I often fill cells with a yellow background to highlight them.

In Excel you can do this from a simple colour menu in the toolbar at the top.

I have found no quick and easy way to do this in Numbers.

Any advice would be appreciated.

thank you

iMac, OS X Mavericks (10.9.5)

Posted on Dec 12, 2014 12:25 PM

Reply
4 replies

Dec 13, 2014 7:03 AM in response to Jonathan from Ivybridge

The following in practice, will allow you to select your cells for color fill, click the colorwheel on the toolbar, and then directly drag/drop the saved color onto your cell selection. Not a slick, one-button click as presented by HD.


  • Menu > View > Customize Toolbar…

    Drag/drop colorwheel icon to the Toolbar

  • Select cells to fill
  • Click colorwheel in Toolbar
    • Pick yellow
    • At bottom adjacent to the eyedropper is the selected color
      • Drag/drop onto selected cells
      • Drag/drop yellow icon right into the Favorites (for direct access in the future)


User uploaded file

Dec 13, 2014 6:23 AM in response to Jonathan from Ivybridge

As far as I can tell there's no direct equivalent of the little paintbucket button in Excel that remembers the last colour you filled with.


One quick and relatively easy way to achieve it would be with an AppleScript:

tell application "Numbers" to tell front document to tell active sheet

try

set active_table to (first table whose class of selection range is range)

on error


display alert "No selection" buttons {"OK"} default button 1

return

end try

tell active_table

set background color of selection range to {62466, 65535, 28003}

end tell

end tell

This could be run from Numbers' script menu (screen grab below) or saved as an Automator Service and run from a popup or keyboard shortcut (eg ctrl-y).


User uploaded file


Post back if you'd like to follow up either of those ideas.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I create a shortcut to fill cells with the same background colour

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.