Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-01-2014, 10:39 AM
fumei fumei is offline go to next heading, if there is one Windows 7 64bit go to next heading, if there is one Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

Code:
Do While .Find.Found
.InsertBefore "<case>"
.Characters.Last.InsertBefore "</case>"
.Collapse wdCollapseEnd
.Find.Execute
Loop
Would that not be InsertAfter? Or am I missing something....again.


Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
go to next heading, if there is one How to add space between heading number and heading text Dr Wu Word 4 07-15-2018 03:52 AM
go to next heading, if there is one How to Restore Heading 1, Heading 2, etc. within a Word Document cheech1981 Word 9 01-11-2017 02:14 AM
go to next heading, if there is one Heading title before heading number johnor999 Word 4 12-06-2013 12:39 AM
Control the size of space between heading number and heading text Dr Wu Word 1 07-17-2013 12:24 PM
go to next heading, if there is one Styles: Heading 4 stuck at same heading number Hallet Word 1 05-31-2012 02:37 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:49 PM.


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