+ Reply to Thread
Results 1 to 6 of 6

VBA Compiler error- Excel 2010

  1. #1
    Registered User
    Join Date
    06-03-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    57

    VBA Compiler error- Excel 2010

    Hello Forum members,

    I need some help, I have a macro which pulls data from one of the website and saves links in the excel sheet.

    When I was using Windows XP and Excel 2007 it was working fine, however when I moved to Windows 7 and Excel 2010 it is not working.

    earlier the file was protected and I was getting compiler error however when I have un protected this and tried running it now I get user defined function error

    Can someone look into it and help me out

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,966

    Re: VBA Compiler error- Excel 2010

    Your VBA Project is password protected so it is not possible to check the details. However, the (first) error highlighted is on the line:

    Please Login or Register  to view this content.

    Have a look in Tools | References for MISSING references. Uncheck it/them and find the equivalent in your new version of software.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    06-03-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    57

    Re: VBA Compiler error- Excel 2010

    Hi,

    Tahnk you for your response, I have un checked the missing references however I am not sure how do i select the approriate one for this

    also I am attaching the unlocked version for your reference
    Attached Files Attached Files

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,966

    Re: VBA Compiler error- Excel 2010

    You need to use Tools | References and search for and select the equivalent reference.

    The Project can be viewed but it is still locked. It would be easier if I could view the original "broken" version so I could see what the reference is that you have unchecked.

  5. #5
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,062

    Re: VBA Compiler error- Excel 2010

    MODI is Microsoft Office Document Imaging, which was removed in 2010 - but you can reinstall it: http://support.microsoft.com/kb/982760
    Everyone who confuses correlation and causation ends up dead.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,966

    Re: VBA Compiler error- Excel 2010

    Thanks RS. Couldn't find it in 2007 either.


    Regards, TMS

+ 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. Compiler error: Object doesn't support this property or method
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2013, 08:20 AM
  2. [SOLVED] Compiler Error: Object Required
    By RGrunden in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-24-2012, 09:13 PM
  3. Compiler error: Method or data member not found
    By sathikbabu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-23-2011, 02:51 AM
  4. Compiler Error
    By vba-lover in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-15-2007, 10:22 PM
  5. Help with compiler error
    By Pank Mehta in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-11-2005, 08:06 AM

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