Reply
 
Thread Tools Display Modes
  #1   Report Post  
Nifty
 
Posts: n/a
Default how do I shade alternate lines of text

I have full landscape pages of data and having alternate lines shaded or
highlighted in some way would make it easier to read across the page.
Note this is a large document that I use a Macro to format from a file
delivered from a mainframe computer and so the solution should be able to be
automated too.
  #2   Report Post  
Pat Garard
 
Posts: n/a
Default

G'Day Nifty,

If you are formatting lines of data, then I reason that they are inserted
into the document as Paragraphs.

Get your original Macro to count lines, for Odd lines apply shading to
Paragraph, for Even lines skip.

The following simple Macro will apply 15% gray shading to the current
Paragraph (it doesn't even have to be selected)......

Sub Shade()
'
'
With Selection.ParagraphFormat
With .Shading
.Texture = wdTextureNone
.ForegroundPatternColor = wdColorAutomatic
.BackgroundPatternColor = wdColorGray15
End With
End With
End Sub
--
Regards,
Pat Garard
Melbourne, Australia
_______________________

"Nifty" wrote in message
...
I have full landscape pages of data and having alternate lines shaded or
highlighted in some way would make it easier to read across the page.
Note this is a large document that I use a Macro to format from a file
delivered from a mainframe computer and so the solution should be able to
be
automated too.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create forms with stationary lines and text? Micki Microsoft Word Help 1 April 18th 05 02:04 PM
I need to put long lines of text on a line without word-wrap brea. Bob barth Microsoft Word Help 1 April 1st 05 06:14 PM
How do I line up the lines of text with the side numbers in a leg. Legalsecretarywannabe Page Layout 6 March 12th 05 02:13 AM
deletion of solid lines from between lines of text Horsethief Microsoft Word Help 2 February 13th 05 10:23 PM
Outline Renee Hendershott Page Layout 2 December 25th 04 02:49 PM


All times are GMT +1. The time now is 02:52 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"