+ Reply to Thread
Results 1 to 10 of 10

compile error in hidden module

  1. #1
    Registered User
    Join Date
    09-26-2007
    Posts
    30

    compile error in hidden module

    Hello,

    I was wondering if anyone knows how to fix this. I've sent out a worksheet with macros that call up userforms but when someone runs the form and tries to call up some userforms they get this error.

    Thanks
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-26-2007
    Posts
    30
    Just a bit of further information, This sheet has been run many times with different people and has functioned properly with no errors. This error popped up when I sent it to one of our Asian suppliers to use and it only seems to happen when they use the sheet

  3. #3
    Forum Contributor
    Join Date
    08-28-2006
    Posts
    280

    Just a thought

    There are different language versions of Excel. While the formulas and functions may work in your machine, they may not work in your Asian supplier's machine. That might be something to look at. In some instances the , (comma) is replaced by the ; semi-colon, etc.

    HTH,

    Dean

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Attaching an example workbook containing that userform might help.
    Hope that helps.

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

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    09-26-2007
    Posts
    30
    Here is a workbook with the forms.

    Regards,
    Attached Files Attached Files

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You have used a calendar Control in the UserForm. The most probable cause is that the other computer does not have the Control installed. You can either install the ocx or create an alternative calendar instead. The datepicker & Calendar controls are often missing. There's a free DatePicker addin here

    http://www.excel-it.com/free_addins.htm

  7. #7
    Registered User
    Join Date
    09-26-2007
    Posts
    30
    I've wondered if it was the calender ocx. I've asked them to install it and see if this resolves the issue.

    I'm thinking it might be a part of the problem but the fact that all the buttons are affected and brings up the error is what leads me to think that there is something else that is causing the error as well.

  8. #8
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    What buttons are affected? It works Ok for me.

  9. #9
    Registered User
    Join Date
    09-26-2007
    Posts
    30
    This is the strange thing. It works fine for everyone in my office but when sent over to Asia none of the buttons work. everything they press brings up that error. Only one person has tried it so far so I've sent it to some other people just to make sure it isn't just an isolated problem

    a previous poster has suggest that it may be a language version conflict so I'm trying to rule out everything else that I can think of.

    If it does turn out that it is a language version conflict than I'll just have to suggest that they go and purchase a North American version of Office. I just don't want them to go and do that and still have this problem.

    Thanks for everyone's help by the way

  10. #10
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You have several forms with the control on, called by buttons. these will all error. Install the ocx and the problem should disappear.

+ 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