+ Reply to Thread
Results 1 to 3 of 3

Error when trying to use code that works in Excel 2007 to 2010

Hybrid View

  1. #1
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Error when trying to use code that works in Excel 2007 to 2010

    Hi.
    Error when trying to use code that works in Excel 2007.

    I'm working on my excel 2010 the code works in Excel 2007, but I was trying to use in Excel 2010 and generated this error ...
    THE LIBRARY OF OBJECTS is INVALID OR CONTAINS REFERENCES TO DEFINITIONS OF OBJECTS THAT COULD NOT BE LOCATED.
    I use these codes:
    Dim BANCO As Database
    Set BANCO = OpenDatabase(ThisWorkbook.Path & "/" & ThisWorkbook.Name, False, False, "Excel 8.0")
    Last edited by marreco; 11-23-2012 at 10:38 AM.
    "No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Error when trying to use code that works in Excel 2007 to 2010

    read here
    http://knowledge.mastermine.net/arti...7468&aid=18939
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Error when trying to use code that works in Excel 2007 to 2010

    Hi.

    Thank you!!!

+ 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