Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-08-2022, 02:27 PM
Chopper Chopper is offline text disappearing intermittently when 'Selection.Find' used Windows 10 text disappearing intermittently when 'Selection.Find' used Office 2019
Novice
text disappearing intermittently when 'Selection.Find' used
 
Join Date: Dec 2020
Posts: 16
Chopper is on a distinguished road
Default text disappearing intermittently when 'Selection.Find' used


I have a document (Dante's Inferno) within which I want to programmatically sequentially select bits of quoted text in order to make a selection from an input box that changes the color of the text. E.G., if it is Dante speaking, I turn the text green, if Virgil, I turn the text purple, etc. The attached code does the job just fine but it intermittently seems to "cut" part of the visible text (see screenshot). Without seeing the totality of the text it makes it very difficult, or impossible, to discern who is speaking ... which sort of renders the whole process pointless.

I don't know if this is a program glitch, or if it is related to processing/rendering unique to my computer [HP Desktop with AMD A-6 processor, Windows 10] to the screen. I have tried fiddling with the timing of the program ('sleep' function, etc.) but to no avail.

Would appreciate any thoughts/suggestions/enlightenment.
Attached Images
File Type: jpg CaptureDante.JPG (59.9 KB, 18 views)
Attached Files
File Type: docx DanteCode.docx (2.6 KB, 9 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
text disappearing intermittently when 'Selection.Find' used Attempting to find text, select words before it, and format the entire selection KeviM Word VBA 1 04-07-2017 05:36 PM
text disappearing intermittently when 'Selection.Find' used PowerPoint presentation intermittently stopping Graeme145 PowerPoint 4 11-14-2014 02:54 PM
text disappearing intermittently when 'Selection.Find' used Help required with Selection.Find to search a text file. Marko Word VBA 2 10-18-2014 06:32 AM
VBA to Find and Format Text string defined using Inputbox within selection sistemalan Word VBA 7 10-03-2014 07:28 AM
text disappearing intermittently when 'Selection.Find' used Selection of all Text for a specific page in word is spanning selection across pages ramsgarla Word VBA 9 12-05-2012 03:23 AM

Other Forums: Access Forums

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