Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Jane Jane is offline
external usenet poster
 
Posts: 87
Default ^p means carriage return

I am using Word 2003.
I have a macro that replaces ^p^p^p with ^p^p in a work document.
I have worked out that ^p is a carriage return. Is there a list of what ^p
means and others?

I have a list of bullet points and when the macro does the replace above it
removes the last carriage return so I get a bullet point on the next line
with nothing next to it. I want to find out how to search for the bullet
point with nothing next to it and replace with a blank.

--
Jane
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default ^p means carriage return

See http://www.gmayor.com/replace_using_wildcards.htm

--

Graham Mayor - Word MVP

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



"Jane" wrote in message
...
I am using Word 2003.
I have a macro that replaces ^p^p^p with ^p^p in a work document.
I have worked out that ^p is a carriage return. Is there a list of what
^p
means and others?

I have a list of bullet points and when the macro does the replace above
it
removes the last carriage return so I get a bullet point on the next line
with nothing next to it. I want to find out how to search for the bullet
point with nothing next to it and replace with a blank.

--
Jane



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default ^p means carriage return

See http://www.gmayor.com/replace_using_wildcards.htm

--

Graham Mayor - Word MVP

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



"Jane" wrote in message
...
I am using Word 2003.
I have a macro that replaces ^p^p^p with ^p^p in a work document.
I have worked out that ^p is a carriage return. Is there a list of what
^p
means and others?

I have a list of bullet points and when the macro does the replace above
it
removes the last carriage return so I get a bullet point on the next line
with nothing next to it. I want to find out how to search for the bullet
point with nothing next to it and replace with a blank.

--
Jane



  #4   Report Post  
Posted to microsoft.public.word.docmanagement
DeanH DeanH is offline
external usenet poster
 
Posts: 1,862
Default ^p means carriage return

In addition to what Graham has posted, I would also change the macro fo
change ^p^p to ^p, that way you wont get the superfluos paragraph marks.
Then sort out the styles to include Space After in the Paragraph attributes
to give you the effect of the layout you got with the superfluous paragraph
mark.
Using Paragraph Marks (Returns) purely for spacing is not the best way to
use Word and it will cause problems, as you have already described.
Hope this helps
DeanH


"Jane" wrote:

I am using Word 2003.
I have a macro that replaces ^p^p^p with ^p^p in a work document.
I have worked out that ^p is a carriage return. Is there a list of what ^p
means and others?

I have a list of bullet points and when the macro does the replace above it
removes the last carriage return so I get a bullet point on the next line
with nothing next to it. I want to find out how to search for the bullet
point with nothing next to it and replace with a blank.

--
Jane

  #5   Report Post  
Posted to microsoft.public.word.docmanagement
DeanH DeanH is offline
external usenet poster
 
Posts: 1,862
Default ^p means carriage return

In addition to what Graham has posted, I would also change the macro fo
change ^p^p to ^p, that way you wont get the superfluos paragraph marks.
Then sort out the styles to include Space After in the Paragraph attributes
to give you the effect of the layout you got with the superfluous paragraph
mark.
Using Paragraph Marks (Returns) purely for spacing is not the best way to
use Word and it will cause problems, as you have already described.
Hope this helps
DeanH


"Jane" wrote:

I am using Word 2003.
I have a macro that replaces ^p^p^p with ^p^p in a work document.
I have worked out that ^p is a carriage return. Is there a list of what ^p
means and others?

I have a list of bullet points and when the macro does the replace above it
removes the last carriage return so I get a bullet point on the next line
with nothing next to it. I want to find out how to search for the bullet
point with nothing next to it and replace with a blank.

--
Jane



  #6   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default ^p means carriage return

Hi DeanH,

An even better Find/Replace expression would be:
Find = (^13)[^13]{1,}
Replace = \1
with:
..MatchWildcards = True
That way, only one Find/Replace action is needed.

--
Cheers
macropod
[Microsoft MVP - Word]


"DeanH" wrote in message ...
In addition to what Graham has posted, I would also change the macro fo
change ^p^p to ^p, that way you wont get the superfluos paragraph marks.
Then sort out the styles to include Space After in the Paragraph attributes
to give you the effect of the layout you got with the superfluous paragraph
mark.
Using Paragraph Marks (Returns) purely for spacing is not the best way to
use Word and it will cause problems, as you have already described.
Hope this helps
DeanH


"Jane" wrote:

I am using Word 2003.
I have a macro that replaces ^p^p^p with ^p^p in a work document.
I have worked out that ^p is a carriage return. Is there a list of what ^p
means and others?

I have a list of bullet points and when the macro does the replace above it
removes the last carriage return so I get a bullet point on the next line
with nothing next to it. I want to find out how to search for the bullet
point with nothing next to it and replace with a blank.

--
Jane

  #7   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default ^p means carriage return


Hi DeanH,

An even better Find/Replace expression would be:
Find = (^13)[^13]{1,}
Replace = \1
with:
..MatchWildcards = True
That way, only one Find/Replace action is needed.

--
Cheers
macropod
[Microsoft MVP - Word]


"DeanH" wrote in message ...
In addition to what Graham has posted, I would also change the macro fo
change ^p^p to ^p, that way you wont get the superfluos paragraph marks.
Then sort out the styles to include Space After in the Paragraph attributes
to give you the effect of the layout you got with the superfluous paragraph
mark.
Using Paragraph Marks (Returns) purely for spacing is not the best way to
use Word and it will cause problems, as you have already described.
Hope this helps
DeanH


"Jane" wrote:

I am using Word 2003.
I have a macro that replaces ^p^p^p with ^p^p in a work document.
I have worked out that ^p is a carriage return. Is there a list of what ^p
means and others?

I have a list of bullet points and when the macro does the replace above it
removes the last carriage return so I get a bullet point on the next line
with nothing next to it. I want to find out how to search for the bullet
point with nothing next to it and replace with a blank.

--
Jane

  #8   Report Post  
Posted to microsoft.public.word.docmanagement
DeanH DeanH is offline
external usenet poster
 
Posts: 1,862
Default ^p means carriage return

Macropod,
Very true and a nice neat way of doing the job.
The article Graham attached does show that this is possible.
My hope was that Jane would understand that superfluous paragraph marks
should not be used for spacing purposes.

They are the bain of my life from certain contributors I have and they just
wont learn :-(

....maybe one day... ;-)

DeanH


"macropod" wrote:

Hi DeanH,

An even better Find/Replace expression would be:
Find = (^13)[^13]{1,}
Replace = \1
with:
..MatchWildcards = True
That way, only one Find/Replace action is needed.

--
Cheers
macropod
[Microsoft MVP - Word]


"DeanH" wrote in message ...
In addition to what Graham has posted, I would also change the macro fo
change ^p^p to ^p, that way you wont get the superfluos paragraph marks.
Then sort out the styles to include Space After in the Paragraph attributes
to give you the effect of the layout you got with the superfluous paragraph
mark.
Using Paragraph Marks (Returns) purely for spacing is not the best way to
use Word and it will cause problems, as you have already described.
Hope this helps
DeanH


"Jane" wrote:

I am using Word 2003.
I have a macro that replaces ^p^p^p with ^p^p in a work document.
I have worked out that ^p is a carriage return. Is there a list of what ^p
means and others?

I have a list of bullet points and when the macro does the replace above it
removes the last carriage return so I get a bullet point on the next line
with nothing next to it. I want to find out how to search for the bullet
point with nothing next to it and replace with a blank.

--
Jane

.

  #9   Report Post  
Posted to microsoft.public.word.docmanagement
DeanH DeanH is offline
external usenet poster
 
Posts: 1,862
Default ^p means carriage return

Macropod,
Very true and a nice neat way of doing the job.
The article Graham attached does show that this is possible.
My hope was that Jane would understand that superfluous paragraph marks
should not be used for spacing purposes.

They are the bain of my life from certain contributors I have and they just
wont learn :-(

....maybe one day... ;-)

DeanH


"macropod" wrote:

Hi DeanH,

An even better Find/Replace expression would be:
Find = (^13)[^13]{1,}
Replace = \1
with:
..MatchWildcards = True
That way, only one Find/Replace action is needed.

--
Cheers
macropod
[Microsoft MVP - Word]


"DeanH" wrote in message ...
In addition to what Graham has posted, I would also change the macro fo
change ^p^p to ^p, that way you wont get the superfluos paragraph marks.
Then sort out the styles to include Space After in the Paragraph attributes
to give you the effect of the layout you got with the superfluous paragraph
mark.
Using Paragraph Marks (Returns) purely for spacing is not the best way to
use Word and it will cause problems, as you have already described.
Hope this helps
DeanH


"Jane" wrote:

I am using Word 2003.
I have a macro that replaces ^p^p^p with ^p^p in a work document.
I have worked out that ^p is a carriage return. Is there a list of what ^p
means and others?

I have a list of bullet points and when the macro does the replace above it
removes the last carriage return so I get a bullet point on the next line
with nothing next to it. I want to find out how to search for the bullet
point with nothing next to it and replace with a blank.

--
Jane

.

  #10   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default ^p means carriage return

Hi DeanH,

I know what you mean - they're probably part of the same group that hard-formats everything in sight, totally oblivious to the
underlying Styles (but mostly they just use 'Normal') and don't even do that in a consistent manner ...

--
Cheers
macropod
[Microsoft MVP - Word]


"DeanH" wrote in message ...
Macropod,
Very true and a nice neat way of doing the job.
The article Graham attached does show that this is possible.
My hope was that Jane would understand that superfluous paragraph marks
should not be used for spacing purposes.

They are the bain of my life from certain contributors I have and they just
wont learn :-(

...maybe one day... ;-)

DeanH


"macropod" wrote:

Hi DeanH,

An even better Find/Replace expression would be:
Find = (^13)[^13]{1,}
Replace = \1
with:
..MatchWildcards = True
That way, only one Find/Replace action is needed.

--
Cheers
macropod
[Microsoft MVP - Word]


"DeanH" wrote in message ...
In addition to what Graham has posted, I would also change the macro fo
change ^p^p to ^p, that way you wont get the superfluos paragraph marks.
Then sort out the styles to include Space After in the Paragraph attributes
to give you the effect of the layout you got with the superfluous paragraph
mark.
Using Paragraph Marks (Returns) purely for spacing is not the best way to
use Word and it will cause problems, as you have already described.
Hope this helps
DeanH


"Jane" wrote:

I am using Word 2003.
I have a macro that replaces ^p^p^p with ^p^p in a work document.
I have worked out that ^p is a carriage return. Is there a list of what ^p
means and others?

I have a list of bullet points and when the macro does the replace above it
removes the last carriage return so I get a bullet point on the next line
with nothing next to it. I want to find out how to search for the bullet
point with nothing next to it and replace with a blank.

--
Jane

.




  #11   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default ^p means carriage return

Hi DeanH,

I know what you mean - they're probably part of the same group that hard-formats everything in sight, totally oblivious to the
underlying Styles (but mostly they just use 'Normal') and don't even do that in a consistent manner ...

--
Cheers
macropod
[Microsoft MVP - Word]


"DeanH" wrote in message ...
Macropod,
Very true and a nice neat way of doing the job.
The article Graham attached does show that this is possible.
My hope was that Jane would understand that superfluous paragraph marks
should not be used for spacing purposes.

They are the bain of my life from certain contributors I have and they just
wont learn :-(

...maybe one day... ;-)

DeanH


"macropod" wrote:

Hi DeanH,

An even better Find/Replace expression would be:
Find = (^13)[^13]{1,}
Replace = \1
with:
..MatchWildcards = True
That way, only one Find/Replace action is needed.

--
Cheers
macropod
[Microsoft MVP - Word]


"DeanH" wrote in message ...
In addition to what Graham has posted, I would also change the macro fo
change ^p^p to ^p, that way you wont get the superfluos paragraph marks.
Then sort out the styles to include Space After in the Paragraph attributes
to give you the effect of the layout you got with the superfluous paragraph
mark.
Using Paragraph Marks (Returns) purely for spacing is not the best way to
use Word and it will cause problems, as you have already described.
Hope this helps
DeanH


"Jane" wrote:

I am using Word 2003.
I have a macro that replaces ^p^p^p with ^p^p in a work document.
I have worked out that ^p is a carriage return. Is there a list of what ^p
means and others?

I have a list of bullet points and when the macro does the replace above it
removes the last carriage return so I get a bullet point on the next line
with nothing next to it. I want to find out how to search for the bullet
point with nothing next to it and replace with a blank.

--
Jane

.


  #12   Report Post  
Posted to microsoft.public.word.docmanagement
DeanH DeanH is offline
external usenet poster
 
Posts: 1,862
Default ^p means carriage return

Macropod, yep, that's them, the "normal-for-everything" brigade :-)

DeanH


"macropod" wrote:

Hi DeanH,

I know what you mean - they're probably part of the same group that hard-formats everything in sight, totally oblivious to the
underlying Styles (but mostly they just use 'Normal') and don't even do that in a consistent manner ...

--
Cheers
macropod
[Microsoft MVP - Word]


"DeanH" wrote in message ...
Macropod,
Very true and a nice neat way of doing the job.
The article Graham attached does show that this is possible.
My hope was that Jane would understand that superfluous paragraph marks
should not be used for spacing purposes.

They are the bain of my life from certain contributors I have and they just
wont learn :-(

...maybe one day... ;-)

DeanH


"macropod" wrote:

Hi DeanH,

An even better Find/Replace expression would be:
Find = (^13)[^13]{1,}
Replace = \1
with:
..MatchWildcards = True
That way, only one Find/Replace action is needed.

--
Cheers
macropod
[Microsoft MVP - Word]


"DeanH" wrote in message ...
In addition to what Graham has posted, I would also change the macro fo
change ^p^p to ^p, that way you wont get the superfluos paragraph marks.
Then sort out the styles to include Space After in the Paragraph attributes
to give you the effect of the layout you got with the superfluous paragraph
mark.
Using Paragraph Marks (Returns) purely for spacing is not the best way to
use Word and it will cause problems, as you have already described.
Hope this helps
DeanH


"Jane" wrote:

I am using Word 2003.
I have a macro that replaces ^p^p^p with ^p^p in a work document.
I have worked out that ^p is a carriage return. Is there a list of what ^p
means and others?

I have a list of bullet points and when the macro does the replace above it
removes the last carriage return so I get a bullet point on the next line
with nothing next to it. I want to find out how to search for the bullet
point with nothing next to it and replace with a blank.

--
Jane
.


.

  #13   Report Post  
Posted to microsoft.public.word.docmanagement
DeanH DeanH is offline
external usenet poster
 
Posts: 1,862
Default ^p means carriage return

Macropod, yep, that's them, the "normal-for-everything" brigade :-)

DeanH


"macropod" wrote:

Hi DeanH,

I know what you mean - they're probably part of the same group that hard-formats everything in sight, totally oblivious to the
underlying Styles (but mostly they just use 'Normal') and don't even do that in a consistent manner ...

--
Cheers
macropod
[Microsoft MVP - Word]


"DeanH" wrote in message ...
Macropod,
Very true and a nice neat way of doing the job.
The article Graham attached does show that this is possible.
My hope was that Jane would understand that superfluous paragraph marks
should not be used for spacing purposes.

They are the bain of my life from certain contributors I have and they just
wont learn :-(

...maybe one day... ;-)

DeanH


"macropod" wrote:

Hi DeanH,

An even better Find/Replace expression would be:
Find = (^13)[^13]{1,}
Replace = \1
with:
..MatchWildcards = True
That way, only one Find/Replace action is needed.

--
Cheers
macropod
[Microsoft MVP - Word]


"DeanH" wrote in message ...
In addition to what Graham has posted, I would also change the macro fo
change ^p^p to ^p, that way you wont get the superfluos paragraph marks.
Then sort out the styles to include Space After in the Paragraph attributes
to give you the effect of the layout you got with the superfluous paragraph
mark.
Using Paragraph Marks (Returns) purely for spacing is not the best way to
use Word and it will cause problems, as you have already described.
Hope this helps
DeanH


"Jane" wrote:

I am using Word 2003.
I have a macro that replaces ^p^p^p with ^p^p in a work document.
I have worked out that ^p is a carriage return. Is there a list of what ^p
means and others?

I have a list of bullet points and when the macro does the replace above it
removes the last carriage return so I get a bullet point on the next line
with nothing next to it. I want to find out how to search for the bullet
point with nothing next to it and replace with a blank.

--
Jane
.


.

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
Carriage Return Help UCHelp[_2_] Mailmerge 3 April 5th 10 10:49 PM
Carriage Return Help UCHelp Mailmerge 1 April 2nd 10 09:35 PM
Carriage Return steve_ben Microsoft Word Help 1 March 1st 09 02:11 PM
Disable carriage return [email protected] Microsoft Word Help 1 August 24th 06 09:04 PM
Search and replace hard-line-return character, not carriage return Tyler T Microsoft Word Help 2 August 16th 06 09:11 PM


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