PDA

View Full Version : Solved: Custom Page Break in a Imported txt file



Jack58
06-16-2004, 07:30 AM
I have a Very large Txt. file that I need to be able to import into word and place Page Breaks into the file, to make the Document printable.

Each section of my document has consent of "1REPORT" at the point where I world like to have Microsoft Word Place a Page Break.

Sure hope someone can help.


Jack

Steiner
06-16-2004, 08:04 AM
Hi Jack,
you could use Search & Replace. Enter "1REPORT" into the search box and into the Replace Box.

Now place your cursor before or after 1REPORT in the replace box (depending on whether you want the break before or after that word). Expand the S & R Dialog, at the botton there should be a button Other characters (or something like that), there you can select page breaks.
It will then insert ^m (in the german version, maybe other letters in yours), representing a page break.

Anne Troy
06-16-2004, 08:16 AM
Nope. It's the same, Steiner. :)

^m

Anne Troy
06-16-2004, 08:17 AM
By the way, Jack, you can record that macro and assign it to a toolbar button if you do this often:

http://www.theofficeexperts.com/officevba.htm#WordVBA will tell you exactly how to do that.

Jack58
06-16-2004, 10:58 AM
Thanks

Worked well



Jack J.