I would like to highlight the selected text into a colour but this is not working. Could you help me with that ?
Sub ShadingLtYellow() ActiveWindow.Selecti
TextRange is for backward compatibility with older versions of PowerPoint. With current versions (2010 and later), use the Textrange2 object instead, it has Highlight:
ActiveWindow.Selection.TextRange2.Font.Highlight.RGB = RGB(255, 255, 175)