Results 1 to 6 of 6

Thread: Fix Microsoft Excel function Exec Error

  1. #1
    Join Date
    Nov 2011
    Posts
    52

    Fix Microsoft Excel function Exec Error

    Whenever entering Exec, I get the error message: Microsoft Visual Basic: Compile error in hidden module: AutoExecNew. on exit, the error message reads: Microsoft Visual Basic: Compile error in hidden module: DistMon. Annoying! Try a little testing before next release. I am running Excel 2003 (11.6355.6360) SP1.

  2. #2
    Join Date
    Aug 2011
    Posts
    460

    Re: Fix Microsoft Excel function Exec Error

    Try a little more research the time, MS can be blamed for many things but hardly for badly written 3rd party add-ins. And have a look on the following link which will help you to troubleshoot the error message. You receive a "Compile error in hidden module" error message when you start Word or Excel

  3. #3
    Join Date
    Aug 2011
    Posts
    564

    Re: Fix Microsoft Excel function Exec Error

    I have this same error after installing Adobe CS Suite. Interestinly, it does not occur under my user name. Any other user does have the error AutoExec in Word and AutoExecNew in Excel (Office 2003) I found the PDFMaker.dot and renamed it PDFMaker.old. This cured the error in Word and Outlook; however, renaming PDFMaker.xla to PDFMaker.old does nothing to stop the error in Excel. I have tried looking for PDFwriter.xla - but there is no file by that name on my computer. I also get the DisMon error JyotiT
    on closing Excel.

  4. #4
    Join Date
    Aug 2011
    Posts
    580

    Re: Fix Microsoft Excel function Exec Error

    I have exactly the same thing - except I did find the "pdf.....xla". I moved it to My Documents as suggested in the KB and searched for it any where else. I still get the "AutoExecNew" and "DisMon" on start and quit. I am using Excel 2000. It seems to be a MS problem. I have never had any Symantec on this machine. And, there is no Adobe now after a re-install. There was at one time and the Office files may not have been re-written when I reinstalled Office 2000. But, both the Word and Excel startup files are empty.

  5. #5
    Join Date
    Aug 2011
    Posts
    540

    Re: Fix Microsoft Excel function Exec Error

    I have also had the same problems, I have followed all the advise that you wonderful people have suggested, visited all the web sites and links suggested, Adobe & Symantec sites included and still have the same problem in excel, however it did solve the word problem. But it would be great to solve this excel problem as it is driving me crazy not been able to resolve this problem. I am sure there is someone out there who can put me out of my misery.

  6. #6
    Join Date
    Aug 2011
    Posts
    695

    Re: Fix Microsoft Excel function Exec Error

    Exit Microsoft Excel first and then click on Start > Run. Look for the pdf*.xla files and move it or delete it from that XLStart folder. If that also does not work then run cmd and type [e C: (to get to the C: drive) and cd\ (to get to the root directory). Then dir pdf*.xla /s (the /s means to search through subdirectories). Make a note of where the file is and move it or delete it.
    How to fix Microsoft Excel error messages "Compile error in hidden module"
    How to Correct the "Compile error in hidden module: ThisWorkbook" in Microsoft Excel

Similar Threads

  1. Replies: 6
    Last Post: 17-02-2012, 01:18 PM
  2. Using Rnd function on VBA in Microsoft Excel
    By SirName in forum MS Office Support
    Replies: 2
    Last Post: 15-02-2012, 05:03 PM
  3. Replies: 3
    Last Post: 02-02-2011, 05:00 PM
  4. exec() function in java
    By Lauren Ambrose in forum Software Development
    Replies: 5
    Last Post: 11-03-2010, 11:23 AM
  5. How to disable exec() function in PHP
    By Japheth in forum Software Development
    Replies: 3
    Last Post: 04-05-2009, 09:38 AM

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
  •  
Page generated in 1,713,503,727.92975 seconds with 17 queries