+ Reply to Thread
Results 1 to 15 of 15

Could not load an object because it is not available on this machine

  1. #1
    Registered User
    Join Date
    02-10-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    45

    Could not load an object because it is not available on this machine

    Hi - I built an excel workbook that has a form for people to enter visitor information on that takes the data and puts it on another sheet, etc... This one user has 2 different pc's and gets this message everytime she opens it..and cannot use this workbook. THE MESSAGE IS: "COULD NOT LOAD AN OBJECT BECAUSE IT IS NOT AVAILABLE ON THIS MACHINE". she enables all macros but still does not help and we even went to her tool preferences under the developer tab and she has the same setup as me.

    Please advise.
    Thank you,
    Jason

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Could not load an object because it is not available on this machine

    Do you use any non-standard controls on the userform such as a calendar?
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    02-10-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Could not load an object because it is not available on this machine

    Yes. There is a drop-down calendar on the form. I went to the VBE / TOOLS / REFERENCES and she has visual basic for applications, ms excel 12.0 object library, ole auto, ms office 12.0 object library, ms forms 2.0 object library, ms calendar control 2007 and ms windows common controls 2.6.0. Is there something else I need to do?
    Thanks.

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Could not load an object because it is not available on this machine

    Are any of them listed with 'MISSING:' in front of them? Do the controls actually work/appear on the form?

  5. #5
    Registered User
    Join Date
    02-10-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Could not load an object because it is not available on this machine

    1) None of them are listed with "missing"
    2) Yes, the control work/appear on the form.

  6. #6
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Could not load an object because it is not available on this machine

    Then it would appear that you have another control somewhere that is not working. Impossible for me to say what that might be.

  7. #7
    Registered User
    Join Date
    02-10-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Could not load an object because it is not available on this machine

    I really appreciate you trying.

  8. #8
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Could not load an object because it is not available on this machine

    If you can post the workbook (without any data) then I will take a look.

  9. #9
    Registered User
    Join Date
    02-10-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Could not load an object because it is not available on this machine

    Don't make fun of my mickey mouse, band aid first sheet where I have made extra columns with extra formulas just to make this thing run.
    Attached Files Attached Files

  10. #10
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Could not load an object because it is not available on this machine

    You aren't actually using a Calendar control, you are using a DTPicker instead, so you should be able to remove the reference to the Calendar 2007 control and then save the workbook. See if that helps on the problem machine.

  11. #11
    Registered User
    Join Date
    02-10-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Could not load an object because it is not available on this machine

    I was at her desk for a while and first I saw 2 selections under VB / TOOLS/ REFERENCES that werent there before. The "MISSING" selections you were talking about. I unchecked those. I also unchecked the calendar control as you instructed. I saved and closed it and re-opened it and tried to use it. Then I got a new message I never saw "COMPILE ERROR METHOD OR DATA MEMBER NOT FOUND" and it pointed to Visual Basic code:
    Please Login or Register  to view this content.
    It pointed to the part where it says "txtcalendar.value". So I gave up temporarily. She went to lunch and I will go back to her desk at 2:30. I will try again.
    Last edited by NBVC; 03-14-2011 at 01:35 PM.

  12. #12
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Could not load an object because it is not available on this machine

    instead of using your own "code tags", use the forums code tags as they actually work :0

    the # icon adds code tags.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  13. #13
    Registered User
    Join Date
    02-10-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Could not load an object because it is not available on this machine

    ok NBVC

    Hi RomperStomper - Yes I removed the calendar 2007 and still same problem......I did notice on my machine everything looks great and I see the DTpicker on my screen but when I go to her machine, the DTpicker is missing and it looks like that is the cause of all the other error messages, I think we are very close to solving this.

    Please advise.
    Jason

  14. #14
    Registered User
    Join Date
    02-10-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Could not load an object because it is not available on this machine

    Hi RomperStomper - Yes I removed the calendar 2007 and still same problem......I did notice on my machine everything looks great and I see the DTpicker on my screen but when I go to her machine, the DTpicker is missing and it looks like that is the cause of all the other error messages, I think we are very close to solving this.

    Please advise.
    Jason

  15. #15
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Could not load an object because it is not available on this machine

    If she does not have the Windows Common Controls library, then you won't be able to use the DTPicker. If you all have the same version of Windows and Office though, you should have the same controls available.

+ 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