Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 90
Default Need a button to click to toggle cell color on/off

I know how to toggle say..the grid....on or off, using a button. But,
how do I toggle cell interior color on/off. Specifically, I want to
click on a button and make a "No Fill" cell yellow, or a yellow cell
"No Fill". I am using Excel 2002.

As usual, thanks for any and all help.

Tonso

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Need a button to click to toggle cell color on/off

The formatting toolbar has a color picker button.

Takes two clicks, not one, but not too onerous in my mind.

If the only two choices are yellow and no color, record a macro while toggling
on/off using the default color picker.

Assign the macro to a button.

Just rmember to change the hard-coded cell reference to ActiveCell


Gord Dibben MS Excel MVP

On 6 Feb 2007 14:39:35 -0800, "Tonso" wrote:

I know how to toggle say..the grid....on or off, using a button. But,
how do I toggle cell interior color on/off. Specifically, I want to
click on a button and make a "No Fill" cell yellow, or a yellow cell
"No Fill". I am using Excel 2002.

As usual, thanks for any and all help.

Tonso


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 90
Default Need a button to click to toggle cell color on/off

On Feb 6, 7:56 pm, Gord Dibben <gorddibbATshawDOTca wrote:
The formatting toolbar has a color picker button.

Takes two clicks, not one, but not too onerous in my mind.

If the only two choices are yellow and no color, record a macro while toggling
on/off using the default color picker.

Assign the macro to a button.

Just rmember to change the hard-coded cell reference to ActiveCell

Gord Dibben MS Excel MVP

On 6 Feb 2007 14:39:35 -0800, "Tonso" wrote:



I know how to toggle say..the grid....on or off, using a button. But,
how do I toggle cell interior color on/off. Specifically, I want to
click on a button and make a "No Fill" cell yellow, or a yellow cell
"No Fill". I am using Excel 2002.


As usual, thanks for any and all help.


Tonso- Hide quoted text -


- Show quoted text -


Thanks once again for helping me sove a problem and learn a bit more
about Excel VBA!
Tonso

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a button to click to toggle cell color on/off Tonso Excel Discussion (Misc queries) 1 February 7th 07 12:33 AM
Urgent date/scheduling calc needed jct Excel Worksheet Functions 3 February 24th 06 01:36 AM
Protect Workbook vs Worksheet?? Dan B Excel Worksheet Functions 3 November 7th 05 09:02 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Creating button as cell jpizzle Excel Discussion (Misc queries) 1 June 1st 05 01:22 PM


All times are GMT +1. The time now is 09:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"