Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 186
Default Customizing row color

Hi,
I need to have an excel worksheet where the first row is yellow, the second
is green, the third red and the forth white. Then I need to repeat these
through the worksheet. The columns are between A and F. I am new to excel
programming. How does one approach this issue. I appreciate any help for
resolution. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default Customizing row color

as you only have three colors, you can use Conditional Formatting

use forrmula is and set these to

1) =MOD(ROW(),4)=1 set pattern to pastel yellow
2) =MOD(ROW(),4)=2 set pattern to pastel green
3) =MOD(ROW(),4)=3 set pattern to pastel red

white is the default


"Jack" wrote in message
...
Hi,
I need to have an excel worksheet where the first row is yellow, the
second
is green, the third red and the forth white. Then I need to repeat these
through the worksheet. The columns are between A and F. I am new to excel
programming. How does one approach this issue. I appreciate any help for
resolution. Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 186
Default Customizing row color

Thanks Patrick for your help. I have put the first formula succesfully in the
formula section. This took care of the first color. How would I put the rest
two formulas. Thanks.

"Patrick Molloy" wrote:

as you only have three colors, you can use Conditional Formatting

use forrmula is and set these to

1) =MOD(ROW(),4)=1 set pattern to pastel yellow
2) =MOD(ROW(),4)=2 set pattern to pastel green
3) =MOD(ROW(),4)=3 set pattern to pastel red

white is the default


"Jack" wrote in message
...
Hi,
I need to have an excel worksheet where the first row is yellow, the
second
is green, the third red and the forth white. Then I need to repeat these
through the worksheet. The columns are between A and F. I am new to excel
programming. How does one approach this issue. I appreciate any help for
resolution. Thanks.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default Customizing row color

Press the Add button on the Conditional Formatting dialog box.

--
Rick (MVP - Excel)


"Jack" wrote in message
...
Thanks Patrick for your help. I have put the first formula succesfully in
the
formula section. This took care of the first color. How would I put the
rest
two formulas. Thanks.

"Patrick Molloy" wrote:

as you only have three colors, you can use Conditional Formatting

use forrmula is and set these to

1) =MOD(ROW(),4)=1 set pattern to pastel yellow
2) =MOD(ROW(),4)=2 set pattern to pastel green
3) =MOD(ROW(),4)=3 set pattern to pastel red

white is the default


"Jack" wrote in message
...
Hi,
I need to have an excel worksheet where the first row is yellow, the
second
is green, the third red and the forth white. Then I need to repeat
these
through the worksheet. The columns are between A and F. I am new to
excel
programming. How does one approach this issue. I appreciate any help
for
resolution. Thanks.




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 186
Default Customizing row color

Thanks Rick for your help. When I added twice and put the formula as per
Patrick and then clicked ok nothing else changed except for the color pattern
I already had. When I went back to the conditional formatting I saw that the
added patterns have disappeared. May be I need to save the spreadsheet. Any
thoughts


"Rick Rothstein" wrote:

Press the Add button on the Conditional Formatting dialog box.

--
Rick (MVP - Excel)


"Jack" wrote in message
...
Thanks Patrick for your help. I have put the first formula succesfully in
the
formula section. This took care of the first color. How would I put the
rest
two formulas. Thanks.

"Patrick Molloy" wrote:

as you only have three colors, you can use Conditional Formatting

use forrmula is and set these to

1) =MOD(ROW(),4)=1 set pattern to pastel yellow
2) =MOD(ROW(),4)=2 set pattern to pastel green
3) =MOD(ROW(),4)=3 set pattern to pastel red

white is the default


"Jack" wrote in message
...
Hi,
I need to have an excel worksheet where the first row is yellow, the
second
is green, the third red and the forth white. Then I need to repeat
these
through the worksheet. The columns are between A and F. I am new to
excel
programming. How does one approach this issue. I appreciate any help
for
resolution. Thanks.






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 186
Default Customizing row color

Never mind Rick. I got it.

"Rick Rothstein" wrote:

Press the Add button on the Conditional Formatting dialog box.

--
Rick (MVP - Excel)


"Jack" wrote in message
...
Thanks Patrick for your help. I have put the first formula succesfully in
the
formula section. This took care of the first color. How would I put the
rest
two formulas. Thanks.

"Patrick Molloy" wrote:

as you only have three colors, you can use Conditional Formatting

use forrmula is and set these to

1) =MOD(ROW(),4)=1 set pattern to pastel yellow
2) =MOD(ROW(),4)=2 set pattern to pastel green
3) =MOD(ROW(),4)=3 set pattern to pastel red

white is the default


"Jack" wrote in message
...
Hi,
I need to have an excel worksheet where the first row is yellow, the
second
is green, the third red and the forth white. Then I need to repeat
these
through the worksheet. The columns are between A and F. I am new to
excel
programming. How does one approach this issue. I appreciate any help
for
resolution. Thanks.




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
Customizing -2^2 Tim Walters Excel Discussion (Misc queries) 7 December 7th 09 01:13 AM
Customizing Color Palette in Excel 2007 Frustrated with Office 2007 User Excel Discussion (Misc queries) 1 January 30th 09 05:39 PM
customizing text color ai New Users to Excel 2 August 14th 08 08:36 PM
customizing chart column color formats in code Papa Jonah Excel Programming 1 March 22nd 05 01:57 PM
customizing chart column color formats in code Papa Jonah Excel Programming 1 March 21st 05 06:15 PM


All times are GMT +1. The time now is 12:01 PM.

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

About Us

"It's about Microsoft Excel"