Find the next blank line

S

Steved

Hello from Steved

I have a 6 paragraph then a blank line also i have paragraphs from 4 to 22
each with a blank line.

Please how do I find the next blank line, Yes I've tried using wildcard but
did not help me find the next blank line.

Thankyou.
 
J

Jean-Guy Marcil

Steved was telling us:
Steved nous racontait que :
Hello from Steved

I have a 6 paragraph then a blank line also i have paragraphs from 4
to 22 each with a blank line.

Sorry, but I can't quite picture your situation.
Can you post some sample text?
Please how do I find the next blank line, Yes I've tried using
wildcard but did not help me find the next blank line.

What is a "blank" line for you?

1) A lone ¶?
2) Spaces and / or tabs (but no actual printable characters) followed by a
¶?
3) A line that consists only of a manual line break (SHIFT-Enter)
4) Like 2), but followed by a manual line break instead of a ¶?
5) All of the above?
6) Some of the above?

???

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
S

Steved

Hello Jean-Guy

I've got 2 blank lines after the last paragraph then I have a another set
off paragraphs then 2 blank lines then another set off paragraphs and so on.

If I use ^13 it will goto the end off the paragraph.

My objective is to goto the paragraph that is followed by 2 blank lines.

Thankyou for taking timeout on my issue.
 
S

Steved

Hello from Steved

Sample below

2 SOLAR FANTASTIC 2 (12) 56.0 T HARRIS 55.4 3
G
G T( 1 0 1) E( 0 0 0) C( 0 0
0)
9 FRENCH AUPAIR 063326 (10) 55.5 M CAMERON 51.8 5
M
DGGGDD T( 6 0 3) E( 3 0 1) C( 2 0
0)
7 MR COLOMBO 55X4 (15) 57.0 B JONES 51.0 3
G
2 blank lines

2 SOLAR FANTASTIC 2 (12) 56.0 T HARRIS 55.4 3
G
G T( 1 0 1) E( 0 0 0) C( 0 0
0)
9 FRENCH AUPAIR 063326 (10) 55.5 M CAMERON 51.8 5
M
DGGGDD T( 6 0 3) E( 3 0 1) C( 2 0
0)
7 MR COLOMBO 55X4 (15) 57.0 B JONES 51.0 3
G
2 SOLAR FANTASTIC 2 (12) 56.0 T HARRIS 55.4 3
G
G T( 1 0 1) E( 0 0 0) C( 0 0
0)
9 FRENCH AUPAIR 063326 (10) 55.5 M CAMERON 51.8 5
M
DGGGDD T( 6 0 3) E( 3 0 1) C( 2 0
0)
7 MR COLOMBO 55X4 (15) 57.0 B JONES 51.0 3
G
2 blank lines

2 SOLAR FANTASTIC 2 (12) 56.0 T HARRIS 55.4 3
G
G T( 1 0 1) E( 0 0 0) C( 0 0
0)
9 FRENCH AUPAIR 063326 (10) 55.5 M CAMERON 51.8 5
M
DGGGDD T( 6 0 3) E( 3 0 1) C( 2 0
0)
7 MR COLOMBO 55X4 (15) 57.0 B JONES 51.0 3
G
 
J

Jean-Guy Marcil

Steved was telling us:
Steved nous racontait que :
Hello Jean-Guy

I've got 2 blank lines after the last paragraph then I have a another
set off paragraphs then 2 blank lines then another set off paragraphs
and so on.

If you have another set of paragraphs after the "last" paragraph, then that
last paragraph is no the last paragraph.
If I use ^13 it will goto the end off the paragraph.

My objective is to goto the paragraph that is followed by 2 blank
lines.

Can you describe the context and what you are trying to achieve?
As it is, I am still confused.

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
S

Steved

Hello Jean-Guy

Firstly sorry about the confusion.

Ok When 2 blank lines found then insert page break

In short find the last paragraph before the 2 line breaks then insert a page
break.

Jean-Guy I know how to build the macro to automatically put in a page break
but I need to know how to find the last paragraph before a 2 line break at
that point put in a page break to start a new page.

This will find a single paragraph mark ^13
This will find the last paragragh mark at the end off the Document ^13^13

What will find a line break.

I thought ^l would do but it does not find it.

Thankyou taking timeout on my question.
 
D

Doug Robbins - Word MVP

If you turn on the display of non printing characters (click on the
Show/Hide ¶ button) what terminates the end of each line, including the end
of the blank line.

You have to tell us exactly what you have if you want help.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
S

Steved

Hello Doug

I now see my problem , I've imported the data from a database and it puts in
dots as spacing and I get this at the blank lines .¶ and if I use find and
type in ^13^13
the find function will not reconize it thefore will not find it.

Now if I manually put in 2 blank lines ( using the enter Key ) I get ¶
without the dot

Ok now if I use find and type in ^13^13 it goes to the blank line and that's
what I want it to do.
Question please is their away with .¶ that I can put in the find to take me
to .¶

Thankyou.
 
D

Doug Robbins - Word MVP

Is the dot that you are talking about the same as the dot that appears
between words to represent a space. If that is the case and each ¶ is
preceded by a dot, then you would need to put a space between each of the
^13's that you are using to try and find the blank lines.

It may not matter, but I am not sure that you need to be using ^13 rather
than ^p. ^13 is only required in a wildcard search. In a normal search, ^p
may be preferrable.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
 
J

Jean-Guy Marcil

Steved was telling us:
Steved nous racontait que :
Hello Doug

I now see my problem , I've imported the data from a database and it
puts in dots as spacing and I get this at the blank lines .¶ and if
I use find and type in ^13^13
the find function will not reconize it thefore will not find it.

Now if I manually put in 2 blank lines ( using the enter Key ) I get
¶ without the dot

Ok now if I use find and type in ^13^13 it goes to the blank line and
that's what I want it to do.
Question please is their away with .¶ that I can put in the find to
take me to .¶

The . represents a space.

So, have you tried loking for
" ^13 ^13"
without the quotes. Notice the space before each ^13.



--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
S

Steved

Hello Doug

Yes the dots represent the space.

Thankyou, Thankyou yes Doug I put a space before ^13 and another space
before ^13 and it does what is reqiured.

One again I thankyou.
 
S

Steved

Hello Jean-Guy

Yes and I thankyou for your time and effort.

Jean-Guy If I explained to you that I imported from a Database which I
forgot, you would have given me the answer as you rightfully have given me at
my first post.

Once again Thankyou.
 
J

Jean-Guy Marcil

Steved was telling us:
Steved nous racontait que :
Hello Jean-Guy

Yes and I thankyou for your time and effort.

Jean-Guy If I explained to you that I imported from a Database which I
forgot, you would have given me the answer as you rightfully have
given me at my first post.

Once again Thankyou.

This is a good example why any serious work done with Word should be done
with "Show All" on (the ¶ button).
In my case, it is always on.
If it had been on right from the beginning you would have noticed the spaces
before the ¶ and would have probably figured it out by yourself.

But the Show All button has a bad rep, people do not like those funny
characters and arrows and stuff...

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
S

Steved

Thankyou Jean-Guy

Jean-Guy Marcil said:
Steved was telling us:
Steved nous racontait que :


This is a good example why any serious work done with Word should be done
with "Show All" on (the ¶ button).
In my case, it is always on.
If it had been on right from the beginning you would have noticed the spaces
before the ¶ and would have probably figured it out by yourself.

But the Show All button has a bad rep, people do not like those funny
characters and arrows and stuff...

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top