+ Reply to Thread
Results 1 to 14 of 14

Compile error in hidden module: Userform1

  1. #1
    Registered User
    Join Date
    10-23-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    8

    Compile error in hidden module: Userform1

    Hi Boys
    I have an error COMPILE ERROR IN HIDDEN MODULE: USERFORM1. I upgraded my PC by buying a new PC and I installed all the programs so I can use these macro files created by an workmate which doesn't work anymore for the company.
    The OLD PC had the following configuration:
    INTEL CPU
    WIN XP SP3
    OFFICE 2003 PROFESIONAL
    2 MB - RAM

    NEW PC
    INTEL CPU - i3
    WIN 7 32 BYTES
    OFFICE 2010 PROFESIONAL
    4 MB - RAM
    SSD - 128 GB

    Please help me out. I am even willing to pay if someone can help me out to sort this issue. (info: [email protected])
    Thank you

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Compile error in hidden module: Userform1

    I reckon you have a missing reference in one of the files you are loading-probably an add-in. which add-ins do you have installed?
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Compile error in hidden module: Userform1

    As JosephP suggests you are probably missing an external file.
    Another possible problem could be missing control. I'm thinking the calendar control, which is not standard in xl2010.

    To further your investigation you need to open the file, goto to VBE (ALT+F11), and use the menu Tools > References. To check for missing references.
    You can also use the menu Debug > Compile project. This should highlight the line of code.

    You will of course need to know the VBA password in order to open the code project.
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    10-23-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Compile error in hidden module: Userform1

    I have no idea if I installed any add-in. I don't know nothing about macros or VB. I just installed Microsoft Office 2010 Professional plus as a standard installation. I can give u access to my computer if needed.
    If you know some add-in I need to add, please help me out to find them on a web, and I can try to install them.
    Thank you

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Compile error in hidden module: Userform1

    did you follow the instructions provided in order to check missing references?

  6. #6
    Registered User
    Join Date
    10-23-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Compile error in hidden module: Userform1

    Error - EXEL.jpg
    this is the error I have.

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Compile error in hidden module: Userform1

    Yes we understand the error message but that does not help discover exactly what the error is.

    Again, did you following the instructions provided to check for missing references?

  8. #8
    Registered User
    Join Date
    10-23-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Compile error in hidden module: Userform1

    Attachment 272804
    this is the error I have.

  9. #9
    Registered User
    Join Date
    10-23-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Compile error in hidden module: Userform1

    OK.
    I need to find the password. I pressed ALT+F11 and now is asking for the password. I will come back as soon I have the password.

  10. #10
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Compile error in hidden module: Userform1

    yeah, that is just the same image again. It's not providing any information to allow us to help you.

    Seeing as you are willing to pay consider using the Commerical service.
    http://www.excelforum.com/payments.php

    Maybe one of those guys can deal more directly with you, possible even share screens.

  11. #11
    Registered User
    Join Date
    10-23-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Compile error in hidden module: Userform1

    I am gone try to work it out with you if is ok. Just a bit of patient with me to put all the bits together.
    Thank you

  12. #12
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Compile error in hidden module: Userform1

    Okay, but I will not be online all day. I will check this thread as and when I can.

  13. #13
    Registered User
    Join Date
    10-23-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Compile error in hidden module: Userform1

    Any time, any help is appreciated.
    Thank you again

  14. #14
    Registered User
    Join Date
    10-23-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Compile error in hidden module: Userform1

    Hi,

    I'm having some trouble accessing the VBA code on a password protected excel file.
    I've tried this:
    http://stackoverflow.com/questions/1...el-vba-project

    but when I try to open the file again I get a message asking if i want to try and recover the contents of the file

    Thanks

+ 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. [SOLVED] Compile error in hidden module?
    By Mike in forum Excel General
    Replies: 5
    Last Post: 03-03-2016, 10:04 AM
  2. [SOLVED] Compile Error in Hidden Module and Compile Error: Can't find project or library
    By Taislin in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-10-2013, 07:03 PM
  3. Compile Error in Hidden Module
    By Wikkie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-23-2012, 08:44 AM
  4. Compile Error in HIdden module?
    By mitelkm in forum Excel General
    Replies: 4
    Last Post: 02-07-2008, 01:21 PM
  5. compile error in hidden module.....
    By Patrick in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-11-2005, 05:06 PM

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