Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 03-25-2024, 03:15 PM
Italophile Italophile is offline Puzzling Behavior Windows 11 Puzzling Behavior Office 2021
Expert
 
Join Date: Mar 2022
Posts: 542
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

Just tested your code by printing result to immediate window. It returns True every time.

Code:
Sub Find()
    With Selection.Find
        .Text = "X-"
        .Forward = False
        .Format = False
        .MatchCase = False
        .MatchWholeWord = False
        .MatchWildcards = False
        .MatchSoundsLike = False
        .MatchAllWordForms = False
    End With
    Debug.Print Selection.Find.Execute
End Sub
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Puzzling behavior by Window shape in [Walls, Shell and Structure] csdlman Visio 3 06-12-2018 03:50 AM
Puzzling Read Only Issue BertLady PowerPoint 0 10-15-2014 11:40 AM
Odd cursor behavior markg2 Outlook 0 06-15-2010 08:33 AM
Bizarre behavior Mozydan Outlook 0 11-19-2007 08:59 AM
Odd Behavior from Outlook stonkers Outlook 0 03-14-2006 12:50 PM

Other Forums: Access Forums

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