Hi all,

I'm trying to set the content of the clipboard to be the words selected within the WebBrowser object. I've tried SendKeys "^C" but it didn't work. Anybody knows how to do this?

What I want to do is for user to highlight words within the WebBrowser object by drag-selecting with the mouse and then click a "Find" button. Therefore I need to capture the words which is highlighted by user which is supposed to be stored in the clipboard.

Is there any other way to do it besides SendKeys "^C" ?

If sendkeys is the only way to capture the highlighted words, what is the proper way to code it?

Any help is very appreciated.

Rgds,
David.