Results 1 to 3 of 3
  1. #1
    Lounger
    Join Date
    Apr 2002
    Location
    SF Bay Area, California, USA
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Compile Errors Hidden Module (VB 6.0, Office 2000 SR-1)

    When I open Word and Excel, I get the following error message: "Compile Error in Hidden Module: AutoExecNew" Both programs work fine (at least as far as I can tell), and when I exit I get "Compile Error in Hidden Module: AutoExit". This does not happen with any other Office Applications.

    Any idea what's going on? Thank you.

  2. #2
    Gold Lounger
    Join Date
    Dec 2000
    Location
    Hollywood (sorta), California, USA
    Posts
    2,759
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Compile Errors Hidden Module (VB 6.0, Office 2000 SR-1)

    Often this is caused by a reference to an object library that is referenced in your project, but nowhere to be found on your HDD.

    Consider also the situation where you (the developer) have the library file on your PC, then you distribute the template to other users who do not. They'll get that error but you won't.

    Look in your VBE Toos>References list for possible suspects.
    Kevin <IMG SRC=http://www.wopr.com/w3tuserpics/Kevin_sig.gif alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  3. #3
    Lounger
    Join Date
    Apr 2002
    Location
    SF Bay Area, California, USA
    Posts
    36
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Compile Errors Hidden Module (VB 6.0, Office 2000 SR-1)

    That did the trick! I had done that with word; nothing showed up out of the ordinary. But when I checked the VBE/Tools in Excel, it showed a PDFMaker file I had not seen before. There were PDFMaker files in word (.dot) and Excel (.xla) I had not used, and upon removal of same no more error message. Thanks for pointing me in the right direction.

Posting Permissions

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