Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Rachel
 
Posts: n/a
Default HOW TO SELECT EVERY OTHER LINE IN A WORKBOOK AUTOMATICALLY

I need to select every other row to highlight them. If there is a way to do it
more quickly than holding down the control key and selecting every other
line that would be very helpful
  #2   Report Post  
Myrna Larson
 
Posts: n/a
Default

Try conditional formatting. Select the entire range to be affected (all rows,
not just alternate rows), then Format/Conditional and select Formula Is in the
first box and type =MOD(ROW(),2)=0 and set the format for the shaded rows.
That will do even numbered rows. If you want odd numbered, change the final 0
to 1.

On Wed, 5 Oct 2005 13:54:06 -0700, Rachel
wrote:

I need to select every other row to highlight them. If there is a way to do

it
more quickly than holding down the control key and selecting every other
line that would be very helpful

  #3   Report Post  
B. R.Ramachandran
 
Posts: n/a
Default

Hi,

Use Conditional Formatting.

Select the first (topmost) row you want to highlight;

"Format" (in the Toolbar) -- "Conditional Formatting" -- select "Formula
Is" and in the formula bar enter
=MOD(ROW(),2)=0 (if that row is an even-numbered row), or
=MOD(ROW(),2)=1 (if that row is an odd-numbered row)
Click the "Format" button, and select "Patterns" and select the shading color,
Click "OK".
Now fill-in the formula in the rows below.

Regards,
B. R. Ramachandran




"Rachel" wrote:

I need to select every other row to highlight them. If there is a way to do it
more quickly than holding down the control key and selecting every other
line that would be very helpful

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
paste formulas between workbooks without workbook link ron Excel Discussion (Misc queries) 3 April 22nd 23 08:11 AM
Use Sheet CodeNames to Select Sheet in Different Workbook Randy Excel Discussion (Misc queries) 1 June 10th 05 12:17 AM
Linking a cell to another workbook cell based on a variable name Brian Excel Discussion (Misc queries) 6 June 1st 05 11:54 PM
workbook select Nigel Excel Discussion (Misc queries) 3 May 17th 05 08:45 PM
select workbook macro Nigel Excel Discussion (Misc queries) 3 May 16th 05 01:45 PM


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