+ Reply to Thread
Results 1 to 9 of 9

Compatibillity issues 2003 v 2007

  1. #1
    Registered User
    Join Date
    02-13-2011
    Location
    Glasgow
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    9

    Compatibillity issues 2003 v 2007

    Hi guys,

    I am having problems with two vba lines that work okay at home where i am using 2007. but when i try and run the code in 2003 which i use at work i get a "Can't find project or library"

    The lines i am having difficulty with are

    Please Login or Register  to view this content.
    and this line
    Please Login or Register  to view this content.
    Which library do i need to install, and can i do this programatically at workbook open

    Any help would be greatly appreceiated.

    Ally.
    Last edited by romperstomper; 02-23-2011 at 09:52 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Compatibillity issues 2003 v 2007

    In VBE go to Tools -> References and check which library is listed as missing - post back.

    I suspect you've early binded to something - eg Outlook 12.0 etc... if so you need to select the 11.0 equivalent in your 2003 file.

  3. #3
    Registered User
    Join Date
    02-13-2011
    Location
    Glasgow
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    9

    Re: Compatibillity issues 2003 v 2007

    Hi

    thanks for your reply.

    i am using ms office 11.0 object library in excel 2003. not sure how to select the equivilant library. or do i need to choose different commands. within my vba code.

    Still new to vba so quite confused at the moment.

    Thanks for any help

    Ally.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Compatibillity issues 2003 v 2007

    Please check References within VBE and report back with whatever is listed as MISSING

  5. #5
    Registered User
    Join Date
    02-13-2011
    Location
    Glasgow
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    9

    Re: Compatibillity issues 2003 v 2007

    Hi,

    This is showing as missing in the vbe references

    Missing: HTML.XLAM
    missing: lookup.xlam
    missing: sumif.xlam
    missing:atpvbaen.xlam
    missing:eurotool.xlam
    missing:solver.xlam

    thanks for your help, i hope this is what you are looking for

    Ally,.

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Compatibillity issues 2003 v 2007

    The above are all 2007 Add-Ins ... if you're not using them in your file remove the references.

  7. #7
    Registered User
    Join Date
    02-13-2011
    Location
    Glasgow
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    9

    Re: Compatibillity issues 2003 v 2007

    Thanks DonkeyOte.

    Its easy when you know how.

    Feel a little stupid actually, should probably have tried that first

    Thank you very much for your help. All up and running now.

    Just one more question, will i need to unload these every time the worksheet loads, or can i unload them at workbook open.

    Thanks again

    Ally.

  8. #8
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Compatibillity issues 2003 v 2007

    If you save with the add-ins disabled then no I wouldn't think so (of course we're assuming you don't need the 2003 equivalent add-ins)

  9. #9
    Registered User
    Join Date
    02-13-2011
    Location
    Glasgow
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    9

    Re: Compatibillity issues 2003 v 2007

    Hi,

    So far i dont, but will check back, if i run into any other problems

    Thanks once again for your help

    Ally.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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