Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
JulieJinky via OfficeKB.com JulieJinky via OfficeKB.com is offline
external usenet poster
 
Posts: 2
Default "Fixing" a page with Styles

Hi...

Hope I'm in the right place...

I have written a large macro that takes a 20 page Word document (software
generated), gets rid of the information that is not needed and pares it down
to a one or two page document.

Problem is with all the changes made to the document what's left is not
pretty. The document consists of tables and single line paragraphs and
between each various amounts of empty space (lines).

I asked the macro experts if they could help... but to a person, they all
suggested applying Styles.

SO.... how could I create and apply a style to space everything on the page
evenly (i.e. one space ONLY between ALL objects (paragraphs and tables) on
the page)?

I am completely new to this concept... so be patient....

Thanking you in advance...

J

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ayout/200909/1

  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default "Fixing" a page with Styles

If your original document contained multiple lines and you have been
removing text from the lines instead of removing the lines themselves then
yes you will have a lot of empty paragraphs. You can use replace to remove
empty paragraphs eg replace
^13{1,}
with
^p
with the wildcard option set

Styles will not affect empty paragraphs, but they can now be used to format
the text in thge layout you require.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



JulieJinky via OfficeKB.com wrote:
Hi...

Hope I'm in the right place...

I have written a large macro that takes a 20 page Word document
(software generated), gets rid of the information that is not needed
and pares it down to a one or two page document.

Problem is with all the changes made to the document what's left is
not pretty. The document consists of tables and single line
paragraphs and between each various amounts of empty space (lines).

I asked the macro experts if they could help... but to a person,
they all suggested applying Styles.

SO.... how could I create and apply a style to space everything on
the page evenly (i.e. one space ONLY between ALL objects (paragraphs
and tables) on the page)?

I am completely new to this concept... so be patient....

Thanking you in advance...

J



  #3   Report Post  
Posted to microsoft.public.word.pagelayout
JulieJinky via OfficeKB.com JulieJinky via OfficeKB.com is offline
external usenet poster
 
Posts: 2
Default "Fixing" a page with Styles

Mr. Mayor...

Thanks for this information... I will use it to learn more about
styles/wildcards going forward (as suggested by the macro gurus...)

Mentioning the macro gurus... One got back to me with some code that worked
(after some tweaking)... If you're interested, I can post it...

Thanks again for your help...

Julie

Graham Mayor wrote:
If your original document contained multiple lines and you have been
removing text from the lines instead of removing the lines themselves then
yes you will have a lot of empty paragraphs. You can use replace to remove
empty paragraphs eg replace
^13{1,}
with
^p
with the wildcard option set

Styles will not affect empty paragraphs, but they can now be used to format
the text in thge layout you require.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ayout/200910/1

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
Styles "cross" or "bridge" para returns WilliamWMeyer Formatting Long Documents 2 April 23rd 08 06:15 PM
What does "char" "char1" "char2" mean in styles in Word? Li Microsoft Word Help 2 September 5th 07 03:22 PM
"Fixing" shading of rows problem Lee Harris Page Layout 5 May 12th 06 08:11 PM
Subsequent Heading styles with "page break before" are cumulative Charles Kenyon Microsoft Word Help 0 March 22nd 06 01:16 AM
"Fixing" picture in place on HTML docs. OM Microsoft Word Help 6 February 14th 06 03:27 AM


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