+ Reply to Thread
Results 1 to 4 of 4

Code not working in excel 2010

  1. #1
    Registered User
    Join Date
    08-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    24

    Code not working in excel 2010

    Hi All,

    The Below codes is not working in excel 2010. But it is working in excel 2007. Can anyone please tell me what is the problem in below codes?

    The codes are given below

    Please Login or Register  to view this content.

    Please Login or Register  to view this content.
    When i run this i got compiler error like CAN'T FIND PROJECT OR LIBRARY.


    Thanks,
    Ann

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Code not working in excel 2010

    Hi, annpricks,

    When i run this i got compiler error like CAN'T FIND PROJECT OR LIBRARY.
    Could you please check the references in the VBE in 2010? If there is a broken link please uncheck this and run a compile on the project.

    Ciao,
    Holger

  3. #3
    Registered User
    Join Date
    08-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    24

    Re: Code not working in excel 2010

    Broken link means? I didnt understand what you are saying.. I have checked in references but i didnt get anything. Can you please explain me briefly?

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Code not working in excel 2010

    Hi, annpricks,

    inside the VBE please check Tools/References. I may only supply an image from a german version of Office2007 where a link to Word2010 is broken. While opening the file I get the very same message that you received, and after I uncheck the Reference of Word2010 (internal number is 14) and add a reference to Word2007 (internal number 12) everything is running smoothly again.

    References.png

    Ciao,
    Holger

+ 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