Copy Text in WebBrowser Control

casey

Registered User.
Local time
Today, 05:59
Joined
Dec 5, 2000
Messages
448
Hello all,

I have a WebBrowser Control on my form that displays information from a website. Is there a way to copy the information on that WebBrowser to the clipboard using VB? Once I have it on the clipboard, I have a procedure set up which pastes that data into Excel and formats it by way of VB, but I cannot figure out how to SelectAll and Copy the 'stinking' WEbBrowser data. Can someone help me here?

Or if it's possible to select all and copy from any open browser on the shell would be helpful too?

Any thoughts.????
 
Well,

I finally broke down and implemented some sendkeys functions to select the data and to copy it to the clipboard. I'm not sure about the reliabilty of these, but I'm about to find out.

I found a procedure to copy data to the clipboard on the MS website, but it's way too long to figure out right now. Like all MS products...they just don't make anything straight-forward, but they always have complicated way to work around the problem.
 

Users who are viewing this thread

Back
Top Bottom