Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
gen
 
Posts: n/a
Default coloring overy other line without doing so line by line

Need to format many worksheets...need to color every other line..is there a
way of doing so without going line by line.
  #2   Report Post  
Derek
 
Posts: n/a
Default

Highlight the first and second row (One colored, one not) Right click and
copy. Highlight the range you want to format then Right clickpaste
specialformats
HTH
Derek

"gen" wrote:

Need to format many worksheets...need to color every other line..is there a
way of doing so without going line by line.

  #3   Report Post  
Duke Carey
 
Posts: n/a
Default

Use Conditional Formatting off the Format menu

Select/highlight the range you want to format, then use the menu to call up
the Conditional formatting dialog

Select 'Formula Is' rather than 'Cell Value Is' and enter this formula

=mod(row(),2)=0

Then click on the format button, go to the pattern tab, and choose the color
you want the rows to be shaded. Click on OK & you're done!

Duke

"gen" wrote:

Need to format many worksheets...need to color every other line..is there a
way of doing so without going line by line.

  #4   Report Post  
gen
 
Posts: n/a
Default

There is data entered into the cells all-ready. If I do the copy, it will
erase the data. Any suggestions?
Thanks for the help.

"Derek" wrote:

Highlight the first and second row (One colored, one not) Right click and
copy. Highlight the range you want to format then Right clickpaste
specialformats
HTH
Derek

"gen" wrote:

Need to format many worksheets...need to color every other line..is there a
way of doing so without going line by line.

  #5   Report Post  
Derek
 
Posts: n/a
Default

Highlight one cell colored and one cell not. Click format painter (the paint
brush on the tool bar) and then paint the area you want colored.
HTH

"gen" wrote:

There is data entered into the cells all-ready. If I do the copy, it will
erase the data. Any suggestions?
Thanks for the help.

"Derek" wrote:

Highlight the first and second row (One colored, one not) Right click and
copy. Highlight the range you want to format then Right clickpaste
specialformats
HTH
Derek

"gen" wrote:

Need to format many worksheets...need to color every other line..is there a
way of doing so without going line by line.



  #6   Report Post  
Gord Dibben
 
Posts: n/a
Default

Derek

This will work but if a row is inserted or deleted, the formatting gets out of
whack.

Best to use Conditional Formatting as Duke's post explains.

Then insert/delete rows will not mess with the alternate row formats.


Gord Dibben Excel MVP

On Fri, 1 Apr 2005 08:39:04 -0800, "Derek"
wrote:

Highlight the first and second row (One colored, one not) Right click and
copy. Highlight the range you want to format then Right clickpaste
specialformats
HTH
Derek

"gen" wrote:

Need to format many worksheets...need to color every other line..is there a
way of doing so without going line by line.


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
Formatting lines between data points in a line chart ltanner Charts and Charting in Excel 2 March 13th 05 05:12 AM
Line and Column Graph Nikki Charts and Charting in Excel 3 February 4th 05 04:42 AM
Line chart - date line association gone mad! Johannes Czernin Charts and Charting in Excel 5 January 17th 05 08:48 PM
Macro - Skipping a line PaulPoll Excel Worksheet Functions 4 December 21st 04 12:43 AM
pivot table multi line chart souris Charts and Charting in Excel 2 December 7th 04 03:56 AM


All times are GMT +1. The time now is 08:12 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"