Hi Paul, TextBox Event 'SelectionChanged' throws Error 18 at compile time.
Thanks Clive, I have fixed this. The SelectionChanged event is only meant for RichEdit controls, not TextBoxes. This is because TextBoxes (Edit controls) do not send a notification when the text selected changes, whereas RichEdit controls do.