View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Tim Williams Tim Williams is offline
external usenet poster
 
Posts: 1,588
Default Get text from a Html form

Where is the HTML form ? On the web? Local File? String variable ?

Best approach is to load the page in IE and then use the Document Object Model to access the element of interest.

Eg;
Msgbox objIE.document.forms(0).elements("txtInput").value

Plenty of past posts on this in this group: search in google groups for "automate IE"

--
Tim Williams
Palo Alto, CA


"josuegm" wrote in message oups.com...
Hello folks..

I'm trying to get text from a html form, and store the information into
a variant, or just place the information as text in a cell...

Could anybody help me?

Thanks for advance.