+ Reply to Thread
Results 1 to 3 of 3

Macro not working in excel 2013

  1. #1
    Registered User
    Join Date
    06-28-2011
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010, Excel 2011 for mac
    Posts
    82

    Macro not working in excel 2013

    Hi,

    On my new PC I have excel 2013 running.

    One of my workbooks made in excel 2010 wont work in excel 2013. When I comment out the code in the VBA editor the workbook works fine. The code is a simple function - no fancy stuff.

    I get the error popup
    Compile error: Can't find project or library


    How do I go about this?

    any help is much appreciated!

    /Kbka

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Macro not working in excel 2013

    Hi kbka and welcome to the forum,

    Read http://www.cpearson.com/excel/MissingReferences.aspx

    It sounds like you need to include some dll or pointer to a library in your new 2013 install.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    06-28-2011
    Location
    Copenhagen, Denmark
    MS-Off Ver
    Excel 2010, Excel 2011 for mac
    Posts
    82

    Re: Macro not working in excel 2013

    Thanks.

    I've gotten a little further since my post. Declaring my variables seems to help.

+ 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. [SOLVED] WScript.Shell Not Working Under Excel 2013
    By yossicadaner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-20-2014, 10:55 AM
  2. Listbox not working in Excel 2013
    By dghillza in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-18-2014, 01:38 AM
  3. 2010 macro not working in 2013 via button
    By PaulieNZ in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-01-2013, 01:27 PM
  4. [SOLVED] Sort Data not working Excel 2013?
    By nobodyukno in forum Excel General
    Replies: 6
    Last Post: 08-14-2013, 10:31 AM
  5. Excel 2013 Conditional Formating not working
    By ExcelWombat in forum Excel General
    Replies: 3
    Last Post: 05-28-2013, 01:22 PM

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