DatePicker will not load on machine
Results 1 to 5 of 5

Thread: DatePicker will not load on machine
Thanks Thanks: 0 Likes Likes: 0

  1. #1
    Board Regular
    Join Date
    Sep 2018
    Posts
    58
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default DatePicker will not load on machine

    I'm writing a macro with a date picker but it won't load on the machine that I'm testing it on. I'm using 2007 on both machines. On the test machine, I noticed there is only the Office12 folder in the installation folder. On the machine I'm working on, there are several folders. I downloaded the date picker add in and added it to Excel. Still won't load. The message I get is along the lines of that the object library isn't available. Have not asked but I'm sure the installation CD is long gone and obviously, 2007 is no longer supported so, no updates. Anyone have any ideas. Today, I'm going to try and register the mscomct2.ocx file and see what that does. Anyone have any ideas?

    Thanks,
    Jim

  2. #2
    Board Regular
    Join Date
    Sep 2018
    Posts
    58
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: DatePicker will not load on machine

    Saw that the Windows common control library is missing in the VBE references. Tried to register the mscomctl.ocx file in the WOW64 folder and restarted the machine but I still get a message saying "Could not load object because it is not available on this machine."

  3. #3
    MrExcel MVP
    Join Date
    Mar 2004
    Location
    Canada
    Posts
    18,791
    Post Thanks / Like
    Mentioned
    32 Post(s)
    Tagged
    5 Thread(s)

    Default Re: DatePicker will not load on machine

    Did you run the cmd.exe as an Admistrator?

    Did you get a message saying that you've succeed when registering the file?

    Did you follow instructions similar to the ones in the following link?

    https://www.wiseowl.co.uk/blog/s440/...picker-vba.htm

  4. #4
    Board Regular
    Join Date
    Sep 2018
    Posts
    58
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: DatePicker will not load on machine

    Quote Originally Posted by Domenic View Post
    Did you run the cmd.exe as an Admistrator?

    Did you get a message saying that you've succeed when registering the file?

    Did you follow instructions similar to the ones in the following link?

    https://www.wiseowl.co.uk/blog/s440/...picker-vba.htm
    Yes, I followed all the instructions except I registered the mscomct snd not the mscomct2. I did get a successful registration. I do have a copy of the second file on another machine. I can move that file into the sysWOW64 folder and re-register. Unfortunately, someone else has that machine right now. Because I was going from machine to machine, I didn't notice the different names. I'll give that a shot and see what happens. I'll let you know. thanks.

  5. #5
    Board Regular
    Join Date
    Sep 2018
    Posts
    58
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: DatePicker will not load on machine

    Domenic,
    Worked perfectly after using mscomct2.ocx. Thank you!

Some videos you may like

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •