Help!

"Fixing" a page with Styles

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Page Layout RSS
Next:  Parse a Cell value using another listing showing ..  
Author Message
JulieJinky via OfficeKB.c
External


Since: Sep 24, 2009
Posts: 2



PostPosted: Thu Sep 24, 2009 2:10 pm    Post subject: "Fixing" a page with Styles
Archived from groups: microsoft>public>word>pagelayout (more info?)

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.aspx/word-pagelayout/200909/1
Back to top
Graham Mayor
External


Since: Jul 04, 2006
Posts: 4676



PostPosted: Fri Sep 25, 2009 2:10 am    Post subject: Re: "Fixing" a page with Styles [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
Back to top
JulieJinky via OfficeKB.c
External


Since: Sep 24, 2009
Posts: 2



PostPosted: Thu Oct 01, 2009 10:10 am    Post subject: Re: "Fixing" a page with Styles [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.aspx/word-pagelayout/200910/1
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Page Layout All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum