Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing Page Breaks from a RTF Document

Status
Not open for further replies.

ojosVerdes

Technical User
Oct 10, 2002
50
0
0
US
Hi all,
How do I remove a page break from a Rich Text Format Document from VB. I get a RTF document that can possible have up to 100 page breaks, and I would like to automate this via code.

Is this possible?

TIA

OjosVerdes
 
i tried to do something like this before and found it very hard because it kept going wrong and deleteing the wrong things e.t.c. i wud recommend finding and alternative way if possible, when i did it i transfered it to a .txt before reading it so it wud be easily read by a msgbox, and i cud get all the un needed pieces of the rtf code to disappear by getting vb to not input those bits into the message box.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top