Results 1 to 3 of 3

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

Threaded 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.

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