Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2005

Tip: Looking for answers? Try searching our database.

Paragraph Mark

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brad - 03 Jan 2005 05:13 GMT
Hi,
Can anyone tell me if there is a Chr(?) you could use for
a paragraph mark. I know Chr(9) is for a tab, but is
there one for a paragraph return?

Thanks to all.
Howard Kaikow - 03 Jan 2005 06:09 GMT
if u want to output a paragraph mark, you can use vbCRLF constant.

Signature

http://www.standards.com/; See Howard Kaikow's web site.

> Hi,
> Can anyone tell me if there is a Chr(?) you could use for
> a paragraph mark. I know Chr(9) is for a tab, but is
> there one for a paragraph return?
>
> Thanks to all.
Klaus Linke - 03 Jan 2005 14:54 GMT
> Hi,
> Can anyone tell me if there is a Chr(?) you could use for
> a paragraph mark. I know Chr(9) is for a tab, but is
> there one for a paragraph return?
>
> Thanks to all.

Hi Brad,

If you want to insert a paragraph mark, use the VBA methods InsertParagraph, InsertParagraphBefore, InsertParagraphAfter.

If you want to look for paragraph marks in a string, look for the code Chr(13) (or vbCr).
If you want to look for it using "Edit > Find", use ^p, or ^13 in wildcard searches.

In case you want to insert a paragraph mark (in "Replace with:"), always use ^p, not ^13, since a para mark is more than a character
with code ^13 -- it stores the formatting for the paragraph.

Greetings,
Klaus
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.