Character Code for Page Break

crhodus

Registered User.
Local time
Today, 03:21
Joined
Mar 16, 2001
Messages
257
I'm trying to create some code that will remove page breaks. The report is in rich text format. Can anyone tell me the character code for a page break? Is there a character code for a page break? I've tried using the MS VB Help, but I haven't had any luck coming across it.

Thanks!
 
this may be of no help...

.doc and .rtf files use "^m" as a page break. you can do a search/replace in Word for "^m".

but, i'm uncertain how you are trying to read/manipulate the .rtf file in code.

hth,
al
 
12 is the character code for a form feed, and I believe that may be what you want. Either the Chr or Asc Function could allow you to check for it.

HTH,

Ken Grubb
Burlington, NC, USA
 

Users who are viewing this thread

Back
Top Bottom