PinkeyNBrain
IS-IT--Management
Please consider the following pseudo code:
Can something like this be done? The actual code leading up to ths is somewhat more complicated, so the pseudo code is being submitted to get my idea / need across.
Code:
With Selection.Find
.Text = "foo"
End With
If Selection.Find.Execute Then
preserved_selection_state = Selection.Find
Call some_subroutine_that_modifies_Selection
Selection.Find = preserved_selection_state
End If