Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 04-01-2024, 10:03 PM
Guessed's Avatar
Guessed Guessed is offline Q: vba code to move from the first paragraph to next Windows 10 Q: vba code to move from the first paragraph to next Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,166
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

The logic is OK if your 'event' doesn't remove the Para. However it sounds like you are doing exactly that. Normally, we get around this by working backwards through a collection.
See this thread for an approach that might work better https://www.msofficeforums.com/word-...paragraph.html
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Q: vba code to move from the first paragraph to next Applying a VBA code to current paragraph without being selected laith93 Word VBA 6 10-14-2022 11:10 PM
Q: vba code to move from the first paragraph to next Help with a logical code, end of paragraph lines Cendrinne Word VBA 9 06-11-2021 09:39 PM
Q: vba code to move from the first paragraph to next Top of my VBA code window is hidden and I can't seem to move it mrsjetset Word VBA 1 06-26-2016 07:41 AM
Find Bookmark, move to bookmark, execute code, repeat raymm3852 Word VBA 10 04-15-2016 06:21 PM
Q: vba code to move from the first paragraph to next Get para no where txt is found, and move text to end of paragraph using Word 201 marceepoo Word VBA 2 12-20-2012 11:42 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:00 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