+ Reply to Thread
Results 1 to 4 of 4

My programme only runs how it should on my computer

  1. #1
    Registered User
    Join Date
    05-04-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    26

    My programme only runs how it should on my computer

    Hello all,

    I have a few problems with regards to my programme being run on different computers. I developed my code on Excel 2010 and the problems are being faced on Excel 2010 as well as other versions. The main issues I currently face are:

    1)I have a code that outputs a result and formats it to 4 decimal places. This works fine on my computer but not others, the code is:
    Please Login or Register  to view this content.
    Is there another way to do this?

    Error Message:
    “Compile error:
    Can’t find project or library”
    If I remove the format it works fine.

    2)I have included Month View calendars. I assumed all excel programs come with this, but this does not seem to be the case. Am I correct to say this or is there a wider issue?

    Error Message:
    “Could not load some objects because they are not available on this machine. “
    Any help is appreciated.

    Thanks in advance.

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: My programme only runs how it should on my computer

    Hi Imprial,
    1) This usually happens with the Format and Len functions, when there is a missing link. Look in the VBE Tools - References and uncheck if there is a "Missing".
    2) "I assumed all excel programs come with this" - no

  3. #3
    Registered User
    Join Date
    05-04-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: My programme only runs how it should on my computer

    Hello nilem,

    1) Done the trick.
    2)Ok, will make some workaround for this.

    Thank you

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645
    Goto one of the machines that has the problem.

    Then open the VBE, goto Tools>References... and check for anything marked MISSING.

    If there is anything note it's name, uncheck it, save the file, reopen and try the code again.

    Try that on a couple of the other machines to see of it's the same problem.
    If posting code please use code tags, see here.

+ 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. Replies: 6
    Last Post: 06-28-2013, 08:44 PM
  2. Macro only runs on my computer
    By Macro-wave in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-16-2008, 08:44 PM
  3. Excel program only runs on one computer
    By JWM6 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-27-2007, 12:06 PM
  4. [SOLVED] VBA runs very slow on a Apple Computer
    By SmartbizAustralia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-04-2005, 09:00 PM
  5. [SOLVED] Autocad vba programme runs with Excel 97 but not with Excel 2000
    By GaneshP in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-31-2005, 10:05 AM

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