+ Reply to Thread
Results 1 to 7 of 7

Macros Not Available?

  1. #1
    Registered User
    Join Date
    03-31-2009
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    10

    Macros Not Available?

    I have created an excel form for use in a small company setting. The form works beautifully for me, and i even sent it to a coworker, and it worked fine for him.

    However when i open it on another computer at this company, and attempt to run the macros i created, i'm getting an error that reads: "could not load an object because it is not available on this machine".

    Now, i created my macros so that they are saved in the workbook, not on the machine. They should work on any machine. We are running the same version of Excel (2007) and the only problem i expected to encounter was disabling the macros security.

    When i open VB, i receive a 'compile error', stating 'Can't find project or library'. It also highlights the 'Private Sub UserForm_Initialize()' line of the following set of code:

    Please Login or Register  to view this content.
    I'm sure this is a simple solution to someone, but I cannot figure out why it's not working on this machine, but works on others? (This is not the only machine either, it's hit or miss amongst the 45 work stations within the company).

    Any insight would be much appreciated!
    Last edited by Bardess; 08-12-2009 at 10:40 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Macros Not Available?

    Please take a few minutes to read the forum rules, and then edit your post to add code tags.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    03-31-2009
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Macros Not Available?

    Dangit! I tried to follow the rules, honest. All fixed now. I'm highly embarassed.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Macros Not Available?

    Thanks.

    I think the chances are that the calendar control is not installed on those systems. There are several thread on this topic in the forum -- see, for example, http://www.excelforum.com/excel-prog...nt-appear.html. Have a search and post back if you don't find what you need.

  5. #5
    Registered User
    Join Date
    03-31-2009
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Macros Not Available?

    The whole reason i wrote the macros was to avoid a calendar control not being available on various computers. I posted the last thread because the DT Picker i was using wasn't available on all computers. I was under the impression that my created macros would solve that issue. I have done a search of the forum to see if others have had this problem, and how it was solved, and haven't found any solutions.

    Thanks so much for at least trying to help me out.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Macros Not Available?

    So Calendar1 is a form you created?

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Macros Not Available?

    For alternatives to the datePicker see the downloads here
    http://excel-it.com/free_addins.htm

    There'san addin, a date picker using comboboxes & a calendar form
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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