Hello,
I’m looking for a way to make an existing selection highlighted in MS Word (2011). The VBA equivalent is:
Selection.Range.HighlightColorIndex = wdYellow
Many thanks!
Hans
Hello,
I’m looking for a way to make an existing selection highlighted in MS Word (2011). The VBA equivalent is:
Selection.Range.HighlightColorIndex = wdYellow
Many thanks!
Hans
Hi,
not as short as in VBA
tell application "Microsoft Word"
set {selection start:startIndex, selection end:endIndex} to selection
set theRange to create range active document start startIndex end endIndex
set highlight color index of theRange to yellow
end tell