+ Reply to Thread
Results 1 to 3 of 3

Writing to an HTML textbox.

  1. #1
    Registered User
    Join Date
    12-08-2009
    Location
    Madison, WI
    MS-Off Ver
    Excel 2003
    Posts
    30

    Writing to an HTML textbox.

    I am trying to do a mass info update through a website. I've got most everything figured out except hoe to enter the actual value. The full code is at the end.

    The line from the site's HTML: (sorry, I can not post the URL)
    Please Login or Register  to view this content.
    With name="00N40000002ESq4" being the important bit.

    However this bit of my code isn't working:
    Please Login or Register  to view this content.
    I've done other macros like this where I was able to just insert the Name before .Value, but I'm guessing that the non-standard naming is throwing things off.

    Full Code:
    Please Login or Register  to view this content.
    Last edited by magness; 03-18-2010 at 10:41 AM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Writing to an HTML textbox.

    Hello Magness,

    Using the DOM HTML is difficult due to the lack of documentation. To retrieve the value from an HTML Input (text type) use this code...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    12-08-2009
    Location
    Madison, WI
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Writing to an HTML textbox.

    Awesome, that works. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1