+ Reply to Thread
Results 1 to 6 of 6

Error 438 when trying to log into a web

  1. #1
    Registered User
    Join Date
    01-17-2015
    Location
    Seville, Spain
    MS-Off Ver
    2010
    Posts
    3

    Error 438 when trying to log into a web

    Hello, I'm trying to make excel log into a website to get data behind it. The code opens correctly the IE, and navigates to de page, but then it gives error 438 'Object doesn't support this property or method'. The website is http://www.alvarezdemarcos.com/home_adem/wp-login.php. And the code is the following:

    Please Login or Register  to view this content.
    The error occurs in the line 'Set inpPwd = ieDoc.getElementByID("user_pass")'.

    It is my first time trying to get excel to download data behind a login and I'm a little bit lost. What am I doing wrong?
    Last edited by hermes_aquila; 01-17-2015 at 02:29 PM. Reason: solved

  2. #2
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Istanbul / Turkey
    MS-Off Ver
    2013 - Win10 - 64bit
    Posts
    1,007

    Re: Error 438 when trying to log into a web

    I dont get any error when I run your code...
    Sub DontForgetThese()
         If Your thread includes any code Then Please use code tags...
         If Your thread has been solved Then Please mark as solved...
         If Anybody has helped to you Then Please add reputation...
    End Sub

  3. #3
    Registered User
    Join Date
    01-17-2015
    Location
    Seville, Spain
    MS-Off Ver
    2010
    Posts
    3

    Re: Error 438 when trying to log into a web

    So, if the code works, then I must have missed something... Is there any particular library I should add? Something that is not normally activated when you install office?

  4. #4
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Istanbul / Turkey
    MS-Off Ver
    2013 - Win10 - 64bit
    Posts
    1,007

    Re: Error 438 when trying to log into a web

    Look at my references...
    http://prntscr.com/5tlj5t

  5. #5
    Registered User
    Join Date
    01-17-2015
    Location
    Seville, Spain
    MS-Off Ver
    2010
    Posts
    3

    Re: Error 438 when trying to log into a web

    Now it worked. I activated these two references:

    Microsoft XML, v3.0
    Microsoft Visual Basic for Application Extensibility 5.3

    Thanks!

  6. #6
    Forum Contributor HerryMarkowitz's Avatar
    Join Date
    09-10-2012
    Location
    Istanbul / Turkey
    MS-Off Ver
    2013 - Win10 - 64bit
    Posts
    1,007

    Re: Error 438 when trying to log into a web

    Congratulations...
    Where is my reputation point?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Run-tim error -2147467259(80004005): Automation error Unspecidied error
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2014, 12:12 PM
  2. Excel macro (compile error. syntax error.) error
    By salar_younis in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-06-2014, 06:11 AM
  3. Error "run-time Error '1004': General Odbc Error
    By D4WNO77 in forum Access Tables & Databases
    Replies: 2
    Last Post: 07-16-2012, 09:55 AM
  4. Error 75 File/Path access error, sometimes Error 1004
    By smokebreak in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-16-2011, 02:35 PM
  5. Error Handling - On Error GoTo doesn't trap error successfully
    By David in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-16-2006, 02:10 PM

Tags for this Thread

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