Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-26-2018, 02:38 AM
mark99k's Avatar
mark99k mark99k is offline VBA Find inexplicably aborts & goes to top Windows 7 32bit VBA Find inexplicably aborts & goes to top Office 2010 32bit
Novice
VBA Find inexplicably aborts & goes to top
 
Join Date: Oct 2012
Location: California USA
Posts: 20
mark99k is on a distinguished road
Default

Thanks to macropod/Paul and Guessed/Andrew. I'm also not a Selection junkie at heart, but my many prior attempts using ranges fell flat, and debugging felt marginally simpler with the text visible. HOWEVER, both of your replies indirectly pointed me to the actual root of the issue, which is:

This document -- and apparently all of the others in which my original code routinely failed -- contains fields whose results contain parens, and those fields confound the adjustments needed to check for italic font within the parens. (Sure enough, the Execute loop went south right when it got to the first such field. Agh.

I haven't fixed it yet but it should be straightfoward now. Thanks so much to both of you.
Reply With Quote
Reply

Tags
vba find and replace



Similar Threads
Thread Thread Starter Forum Replies Last Post
find IP in range / find number between numbers gn28 Excel 4 06-14-2015 03:46 PM
VBA Find inexplicably aborts & goes to top Find where find text contains a double quote norgro Word VBA 1 01-23-2015 10:58 PM
VBA Find inexplicably aborts & goes to top Find what box in Find and replace limits the length of a search term Hoxton118 Word VBA 7 06-10-2014 05:05 AM
VBA Find inexplicably aborts & goes to top Macro that can find phrase and then find another and copy jperez84 Word VBA 10 09-19-2012 04:48 PM
VBA Find inexplicably aborts & goes to top Bad view when using Find and Find & Replace - Word places found string on top line paulkaye Word 4 12-06-2011 11:05 PM

Other Forums: Access Forums

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