Use dot (.) instead of bang (!) to get intellisense tips in VBA.
However, the code should work regardless. Does for me.
What is WavK?
Yes Colin, I was surprised it worked in immediate window but it did. I selected a few characters in the textbox then ran code and it retrieved just the few highlighted characters. The text remains selected as long as you don't click or tab or enter to another control or record in Access window.
Oh wait, it only works with Forms. or Forms! syntax, not Form_
But I don't get error message. Forms. returns the selected text, Form_ just returns the full value.