#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Grid Lines

Is there a way to insert and print horizontal lines every nth (5th or 10th,
for example) row to use simply as a guide to reading across a long row of
data? I don't want grid lines, where every row appears underlined. I would
like the lines to stay put when I insert rows, to automatically maintain
every nth row.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 964
Default Grid Lines

You can use Conditional formatting for this.

Select your range of data to apply the formatting to
From the Format Menu, select "Conditional Formatting..."
Change "Cell Value Is" to "Formula Is"
Enter the formula: =MOD(ROW(),5)=0
Select your format (shading, borders, etc...)
Click OK

This will apply the formatting to every 5th row. Change the 5 to 10 or
whatever your needs are.

HTH,
Elkar


"Mike F" wrote:

Is there a way to insert and print horizontal lines every nth (5th or 10th,
for example) row to use simply as a guide to reading across a long row of
data? I don't want grid lines, where every row appears underlined. I would
like the lines to stay put when I insert rows, to automatically maintain
every nth row.

  #3   Report Post  
Member
 
Posts: 54
Default

Quote:
Originally Posted by Mike F
Is there a way to insert and print horizontal lines every nth (5th or 10th,
for example) row to use simply as a guide to reading across a long row of
data? I don't want grid lines, where every row appears underlined. I would
like the lines to stay put when I insert rows, to automatically maintain
every nth row.
Mike,

You can format the lines on the first n lines then select these cells and copy. Select the rest of your data then paste special format. I personally like to shade every other line light blue. You choose what is easiest for yourself and your readers. Some printers do better than others with background colors, you might want to consider whether they will be viewing the file or a printed version.
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Grid Lines

Thank you. Works perfectly.

"Elkar" wrote:

You can use Conditional formatting for this.

Select your range of data to apply the formatting to
From the Format Menu, select "Conditional Formatting..."
Change "Cell Value Is" to "Formula Is"
Enter the formula: =MOD(ROW(),5)=0
Select your format (shading, borders, etc...)
Click OK

This will apply the formatting to every 5th row. Change the 5 to 10 or
whatever your needs are.

HTH,
Elkar


"Mike F" wrote:

Is there a way to insert and print horizontal lines every nth (5th or 10th,
for example) row to use simply as a guide to reading across a long row of
data? I don't want grid lines, where every row appears underlined. I would
like the lines to stay put when I insert rows, to automatically maintain
every nth row.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 213
Default Grid Lines

Is there a way to insert and print horizontal lines every nth (5th or
10th, for example) row to use simply as a guide to reading across a
long row of data? I don't want grid lines, where every row appears
underlined. I would like the lines to stay put when I insert rows, to
automatically maintain every nth row.


One way is to use
Format Conditional Formatting
with a formula like
=MOD(ROW(),5)=0
and a format that has a lower border.
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
2003 grid lines DL Excel Discussion (Misc queries) 3 October 12th 06 01:50 PM
Grid lines noyb Excel Discussion (Misc queries) 4 December 2nd 05 04:30 PM
Partial Grid Lines Keith-in-Indy Excel Discussion (Misc queries) 4 August 17th 05 06:55 PM
printing grid lines puddytatz Excel Discussion (Misc queries) 4 July 14th 05 07:35 PM
Bold Grid Lines Ctunes Excel Discussion (Misc queries) 1 December 8th 04 09:00 PM


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