Consulting

Results 1 to 3 of 3

Thread: Can vba take control of the web site by hitting tab key?

  1. #1
    VBAX Newbie pedie's Avatar
    Joined
    Jul 2010
    Posts
    3
    Location

    Can vba take control of the web site by hitting tab key?

    Can vba open a webpage then click on center of the page then
    by hitting tab key twice and set focus on Textbox like and then enter a word "password"and click on submit?

    In this intranet site we cannot ctrl f to find a word or anything...there is just one textbox like field to enter a word to log on...
    So please helpme in opening this site and log on into it....

    Thank you for helping!
    Pedie

  2. #2
    VBAX Guru Kenneth Hobs's Avatar
    Joined
    Nov 2005
    Location
    Tecumseh, OK
    Posts
    4,956
    Location
    There are 2 ways to do it. (1) By IE object methods and (2) SendKeys. To do (1), post your Source Code from the website. For (2), you will need to disable UAC if you have Vista+.

  3. #3
    VBAX Newbie pedie's Avatar
    Joined
    Jul 2010
    Posts
    3
    Location
    I can of course post the source code but right now i am not @ work so I will not be able to do it right now. Pls suggest me a code that can make this happen.

    Open the site >> click anywhere on the site once then >> tab 2wice and hit enter aftering password:

    That is all i need if you would please help me to this much then I will really appriciate.

    Thank again so much for helping.

    I found so many code in google search but non of them is helpfull...please advice me more on how to use the 2nd method:

    Thanks again!
    Last edited by pedie; 10-18-2010 at 08:23 PM.

Posting Permissions

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