+ Reply to Thread
Results 1 to 8 of 8

Does Excel VBA =differ= in different Office editions?

  1. #1
    Registered User
    Join Date
    01-21-2012
    Location
    San Francisco, California, USA
    MS-Off Ver
    Excel 2010
    Posts
    13

    Does Excel VBA =differ= in different Office editions?

    I have Office 2010 Pro and was trying to demonstrate a userform I built, on my mom's PC, which has Office 2010 Home & Student. Got the ominous "Some objects could not be loaded..." message, and a missing reference for Microsoft Windows Common Controls-2 6.0 (SP4).

    I'm sure I installed Excel with the fullest set of options on her PC, but this form throws an error, and is missing its date-picker control -- one of the coolest parts. Is that control, and perhaps other business-ish elements, not included in the Home & Student edition?? Both PCs are Win7 64-bit and virus-free. Any clues appreciated.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Does Excel VBA =differ= in different Office editions?

    down load the latest service pack from ms maybe?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Does Excel VBA =differ= in different Office editions?

    Hi, mark99k,

    due to the different distributions it might be possible that this feature is delivered with Access, installed and available on your PC but not with H&S.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Registered User
    Join Date
    01-21-2012
    Location
    San Francisco, California, USA
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Does Excel VBA =differ= in different Office editions?

    Argh. Probably right. Thanks Holger.

  5. #5
    Registered User
    Join Date
    01-21-2012
    Location
    San Francisco, California, USA
    MS-Off Ver
    Excel 2010
    Posts
    13

    SOLVED: Does Excel VBA =differ= in different Office editions?

    OK, there is a way; figured it with help from another board. For anyone looking, the fix isn't as straightforward as it seems. (Choosing install from a right-click of the .INF file doesn't do it.) Steps:

    Download mscomct2.cab from http://support.microsoft.com/kb/297381
    Open the mscomct2.cab file and extract the file mscomct2.ocx.
    Save it in the Excel program folder (the place where EXCEL.EXE lives).
    For Office 2010 this is typically: C:\Program Files (x86)\Microsoft Office\Office14
    Click Start> Programs> Accessories, and RIGHT-CLICK Command Prompt
    Click Run as Administrator
    In the command prompt window, type (or paste)* this line:

    %systemroot%\SysWoW64\regsvr32.exe "EXCEL_FOLDER_PATH_HERE\MSCOMCT2.OCX"
    (Quotes are required.)

    Wait for the "Succeeded" message.

    *To paste in the command prompt window, press ALT+Spacebar and choose Edit> Paste



    Quote Originally Posted by mark99k View Post
    Argh. Probably right. Thanks Holger.
    Last edited by FDibbins; 03-15-2015 at 12:31 AM.

  6. #6
    Registered User
    Join Date
    01-21-2012
    Location
    San Francisco, California, USA
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Does Excel VBA =differ= in different Office editions?

    A very delayed update on this question: The issue has arisen on 4 other PCs and I've just now discerned one thing they all have in common. They're all HP brand computers. Arrgh.

    I've had similar issues in the past with HP machines -- usually even worse than this, namely, the complete rejection of any add-in containing userforms -- and have never found a workaround.

  7. #7
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Does Excel VBA =differ= in different Office editions?

    Hello mark99k,

    HP has their own way of doing things and when you throw Windows into the mix ... BOOM! It blows up it in your face. HP should have stuck to what they did best - making test equipment, calculators, and printers.

    I too have suffered the tortures of upgrading HP machines and getting them to work normally. There are 2 options I employ. One, replace the computer with another brand. Two, if one is not an option then erase the operating system and install Windows from scratch. If the first two options fail then take out your frustrations on the machine as you see fit. Your client won't have a computer but you will still have your sanity!
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  8. #8
    Registered User
    Join Date
    01-21-2012
    Location
    San Francisco, California, USA
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Does Excel VBA =differ= in different Office editions?

    Hi Leith. This would undoubtedly improve the universe, but my users are all remote.

    Thanks for confirming the mystery -- I'd never heard anything about HP PCs being anywhere near as demonic as they are...

    Mark

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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