Share via


FindReplace Object Members

Publisher Developer Reference

Represents the criteria for a find operation. The properties and methods of the FindReplace object correspond to the options in the Find and Replace dialog box.

Methods

  Name Description
Aa437637.methods(en-us,office.12).gif Clear Removes the specified search criteria in a find or replace operation.
Aa437637.methods(en-us,office.12).gif Execute Performs the specified Find or Replace operation.

Properties

  Name Description
Aa437637.properties(en-us,office.12).gif Application Used without an object qualifier, this property returns an Application object that represents the current instance of Publisher. Used with an object qualifier, this property returns an Application object that represents the creator of the specified object. When used with an OLE Automation object, it returns the object's application.
Aa437637.properties(en-us,office.12).gif FindText Sets or retrieves a String representing the text to find in the specified range or selection. Read/write.
Aa437637.properties(en-us,office.12).gif Forward Sets or retrieves a Boolean representing the direction of the text search. True if the find operation searches forward through the document. False if it searches backward through the document. Read/write.
Aa437637.properties(en-us,office.12).gif FoundTextRange Returns a TextRange object that represents the found text or replaced text of a find operation. Read-only.
Aa437637.properties(en-us,office.12).gif MatchAlefHamza Sets or returns a Boolean representing whether or not a search operation will match alefs and hamzas. Read/write.
Aa437637.properties(en-us,office.12).gif MatchCase Sets or returns a Boolean that represents the case sensitivity of the search operation. Read/write.
Aa437637.properties(en-us,office.12).gif MatchDiacritics Sets or returns a Boolean representing whether or not a search operation will match diacritics. Read/write.
Aa437637.properties(en-us,office.12).gif MatchKashida Sets or returns a Boolean representing whether or not a search operation will match kashidas. Read/write.
Aa437637.properties(en-us,office.12).gif MatchWholeWord Sets or returns a Boolean that represents whether the whole word will be matched in the search operation. Read/write. Boolean.
Aa437637.properties(en-us,office.12).gif MatchWidth Sets or returns a Boolean representing whether or not a search operation will match the character width of the searched text. Read/Write.
Aa437637.properties(en-us,office.12).gif Parent Returns an object that represents the parent object of the specified object. For example, for a TextFrame object, returns a Shape object representing the parent shape of the text frame. Read-only.
Aa437637.properties(en-us,office.12).gif ReplaceScope Sets or returns a PbReplaceScope constant that specifies how many replacements are to be made: one, all, or none. Read/write PbReplaceScope.
Aa437637.properties(en-us,office.12).gif ReplaceWithText Sets or retrieves a String representing the replacement text in the specified range or selection. Read/write.