+ Reply to Thread
Results 1 to 3 of 3

Logging in a website with Macros

  1. #1
    Registered User
    Join Date
    02-09-2007
    Posts
    39

    Logging in a website with Macros

    Hello, and again, let me first thank you for spending some time on this.

    I'm trying to automate some webscraping on a website that requires a login, and was wondering how I would do so using Macros with a specific username password somewhere in the spreadsheet, lets say B2, and C2 respectively.

    The website I'm trying to login is this; http://underground.chacha.com/account/

    I think I have most of the scraping figured out; its just the log-in for now.

    Any help would be appreciated!

    Thank you.
    Last edited by pink; 12-14-2008 at 07:24 PM.

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good morning pink
    Quote Originally Posted by pink View Post
    I'm trying to automate some webscraping on a website that requires a login, and was wondering how I would do so using Macros with a specific username password somewhere in the spreadsheet, lets say B2, and C2 respectively.
    Let's forget about where the username and password are stored for now - sorting out that bit is simple. The tricky bit is logging onto the website. I will point you for now to a link in VBAExpress' knowledgebase by poster Oorang. This shows you how to log into Googlemail using VBA - but the principle will be the same for your application (but just so you know, the "ease of use" is set to hard!).

    http://vbaexpress.com/kb/getarticle.php?kb_id=973

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Registered User
    Join Date
    02-09-2007
    Posts
    39
    DominicB,

    Thank you for your reply. I tried to decipher that info on the link you gave me... and yes, I know why the "ease of use" is set to hard. I ended up browsing the web to look for other methods.. and ended up using something like this:


    Please Login or Register  to view this content.
    And it works. However, I don't know if its the BEST way to do it...

    Thanks for your input!

+ 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