Thread: [Solved] Add Page Break to Document
View Single Post
 
Old 08-08-2012, 01:24 AM
expatchic expatchic is offline Windows 7 64bit Office 2007
Novice
 
Join Date: Aug 2012
Posts: 3
expatchic is on a distinguished road
Default Add Page Break to Document

Hello. I was able to "write" some VBA code to change the font (highlighting) of certain words. I say that lightly...I stole it from a recorded macro, and then enhanced it based on some examples I found on the web.

Now what I need to do is when I find the text string, back up 2 lines, and insert a page break. Would also like to check for the existence of a page break before inserting a new one.

A novice at VBA, but not programming in general. Any help would be greatly appreciated.

Thank you,

ExpatChic
Reply With Quote