LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Background color for 50,000 odd-numbered rows

Hi,

I have a worksheet which has over 50,000 rows of data and 10 columns.
I would like to appy background color to all this data to make it easy
to read.

Here is what I need:

a. All the odd numbered rows in the range a5:j50004 should
have a gray background color.

b. All the even numbered rows in the range a5:j50004 should
have a yellow background color.

c. This color scheme should remain when existing rows are
deleted from this range.

d. This color scheme should remain when new rows are
inserted into this range.

Please show me the VBA code to do all of the above.
In what part of the spreadsheet should this code reside?


Thanks.
Luther



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

 
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
Checkbox to change background color, font color and remove/ add bo Sara Excel Discussion (Misc queries) 2 May 1st 23 11:43 AM
find excel rows with a background color Lou Excel Discussion (Misc queries) 4 May 24th 07 01:27 AM
Default Border, Font Color, and Cell Background Color Elijah Excel Discussion (Misc queries) 1 October 28th 05 04:10 PM
Excel 2003 Font Color and Background Color DrankPA6 Excel Discussion (Misc queries) 1 August 12th 05 11:43 PM
can you select rows in excel with a certain background color? stelee Excel Worksheet Functions 1 August 3rd 05 04:04 PM


All times are GMT +1. The time now is 05:47 AM.

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"