Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

moving text from web browser control into an Access form

Status
Not open for further replies.

davedoop

Programmer
Apr 12, 2004
8
US
I am trying to move text from a web page (inside a web browser control) into a form in Access 2000. The web browser control has functions for moving text on to the clip board:

wbc.ExecWB OLECMDID_SELECTALL
wbc.ExecWB OLECMDID_COPY

However, I seem to be stuck there not being able to retrieve the text from the clipboard. I would ideally like to have it in a text string in VBA for formating before placing in a form.

I tried the windows clipboard functions (from the "user32 library") but am not having any luck there (unfortunately, I am not a Windows programmer).

Any ideas from the Access and/or Windows gurus out there would be greatly appreciated!

 
if you are getting it to the clipboard did you try

docmd.RunCommand acCmdPaste

in access that should put what is on clip board into active control
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top