$word->Options->DefaultHighlightColorIndex(wdYellow); $word->Selection->Find->Replacement->{'Highlight'}=1;