+ Reply to Thread
Results 1 to 7 of 7

Compile error hidden in sheet 1

  1. #1
    Registered User
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    2010
    Posts
    27

    Compile error hidden in sheet 1

    Hi,

    I'll try keep it short. Basically an order form we use for our division has been affected by this recent Microsoft excel update to activeX, we've managed to get around the problem for the majority of our computers by deleting the files hidden in appdata, however the error still occurs for others. I've been told it may have something to do with some sort of referencing in the VBA?

    Heres the code from the sheet1 vba, can anyone see the problem?

    Please Login or Register  to view this content.
    Thanks,

    Sam
    Last edited by sam94; 03-06-2015 at 06:18 AM.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Compile error hidden in sheet 1

    What's the actual error if you unprotect the VBA?
    Last edited by Kyle123; 03-06-2015 at 06:20 AM.

  3. #3
    Registered User
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    2010
    Posts
    27

    Re: Compile error hidden in sheet 1

    Quote Originally Posted by Kyle123 View Post
    What's the actual error if you unprotect the VBA?

    Also, please use code tags:
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Sorry - edited my post,

    How do I find out the exact error on VBA?

    Sam

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Compile error hidden in sheet 1

    Unhide the sheet and remove any password you may have on the VBA project

  5. #5
    Registered User
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    2010
    Posts
    27

    Re: Compile error hidden in sheet 1

    The first line comes up with an error, stating it might be referencing something?

    Please Login or Register  to view this content.

  6. #6
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Compile error hidden in sheet 1

    Do you have any missing references?

  7. #7
    Registered User
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    2010
    Posts
    27

    Re: Compile error hidden in sheet 1

    Quote Originally Posted by Kyle123 View Post
    Do you have any missing references?
    I checked on tools>references within VBA and it didn't state any were missing

+ 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. Compile error in hidden module: Sheet 1
    By rookrose in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-28-2014, 01:59 AM
  2. Compile error in hidden module sheet 1
    By Paramesh M in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-06-2013, 08:32 AM
  3. [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
  4. "Compile Error in hidden module in sheet 1" in excel
    By Raman Gupta in forum Excel General
    Replies: 1
    Last Post: 12-31-2012, 08:23 AM
  5. Compile Error in Hidden Sheet
    By Simon Austin in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-15-2009, 11:52 AM

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