Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-11-2022, 03:04 PM
Guessed's Avatar
Guessed Guessed is offline Problem with macro searching for overlapping strings and inserting a comment Windows 10 Problem with macro searching for overlapping strings and inserting a comment Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
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

This is dodgy and there is a mixed bag of results possible here. In my testing I can get a hit on the second search if I:
1. Change to Draft View
2. Set Review Markup to show all markup
3. Include a ^? where the first comment ends

I prefer your simpler suggestion of searching the larger strings first but perhaps you can experiment with the above preconditions to arrive at a solution which is independent of that.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with searching at outlook tomer Outlook 1 11-27-2018 06:21 AM
Office Word problem Comment author name jbln Word 1 08-23-2016 04:40 PM
Problem with macro searching for overlapping strings and inserting a comment Inserting comment bubbles in MSWord? amitrus Word VBA 2 02-07-2013 07:53 AM
Comment-Balloon Textsize Problem aerzteohnegrenzen Word 7 05-04-2011 10:45 AM
Problem with macro searching for overlapping strings and inserting a comment update style of all strings available between two specific strings vikrantkale Word 1 03-28-2011 06:13 PM

Other Forums: Access Forums

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