Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-08-2012, 01:24 AM
expatchic expatchic is offline Add Page Break to Document Windows 7 64bit Add Page Break to Document Office 2007
Novice
Add Page Break to Document
 
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Page Break to Document Delete a page after Section Break Next Page Aston Word 9 04-27-2022 07:38 AM
Add Page Break to Document Page break formatting changes Tom0822 Excel 1 03-19-2012 08:50 PM
Force a page break Emaleth9999 Mail Merge 1 02-09-2012 02:36 AM
paragaph hard break, soft break and ...strange break czomberzdaniela Word 2 12-03-2010 06:58 PM
Page Break Manolo Word 0 04-29-2009 11:04 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:50 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft