Replaces the current find match with the specified text, or does nothing if there is no current find match.
'Declaration
Public Function ReplaceCurrent( _
ByVal As String, _
ByRef As String _
) As Boolean
Parameters
- replacementText
- The text to use as a replacement for the current find match.
- error
- An error message if an error was encountered.
Return Value
True if successful, otherwise false.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2