+ Reply to Thread
Results 1 to 4 of 4

Set iDoc = IE.Document gives Type Mismatch error

  1. #1
    Forum Contributor
    Join Date
    10-21-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    110

    Set iDoc = IE.Document gives Type Mismatch error

    Hi,
    I am having strange issue. Hopefully someone expert will help me here.
    I am using 32 bit version IE 10
    End user is using 64 bit version IE10

    For me set iDoc = IE.Document works fine. But for end user I get "Type mismatch error"
    Below is my code. Please help.

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    10-21-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    110

    Re: Set iDoc = IE.Document gives Type Mismatch error

    Anybody able to help on this?

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Set iDoc = IE.Document gives Type Mismatch error

    Unlikely to get any help for the following reason:
    The site requires log-in access. It is difficult to test and see a code which requires access rights.
    No one with out the access rights can see the source file. This is important to see the ID and tag names which have given you an error. It is like accessing an internal web site.

    Just to give you some pointers.
    You code seems complicate than it should be. You have 2 subs and functions. I would have coded it in a single sub or with another function.

    You have this line

    Call GetLoginDetails(jobBoard, uName, pwd)
    But where is the value for the argument jobBoard? You need to supply 3 arguments for the sub parameter GetLoginDetails

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Set iDoc = IE.Document gives Type Mismatch error

    Try changing:
    Please Login or Register  to view this content.
    To:
    Please Login or Register  to view this content.

+ 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] Why am I getting a type mismatch error?
    By chaddug in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-11-2014, 12:44 PM
  2. If Error on 'Type Mismatch'
    By jimmyex23 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-10-2013, 11:12 AM
  3. Type mismatch error
    By kishoremcp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2013, 03:29 PM
  4. Run Type error 13 Type Mismatch
    By Affan Khan in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-13-2012, 12:58 PM
  5. [SOLVED] Run-type error 13 type mismatch
    By misop in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-05-2012, 04:08 AM
  6. Complile Error: Type Mismatch ??? After adding error trap
    By clemsoncooz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-22-2012, 03:50 PM
  7. Conditional Formatting - Run Time Error '13' Type Mismatch Error
    By ksp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-17-2011, 07:37 PM
  8. [SOLVED] Help: Compile error: type mismatch: array or user defined type expected
    By lvcha.gouqizi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2005, 05:05 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