+ Reply to Thread
Results 1 to 4 of 4

Excel reinstalls features every time it opens

  1. #1
    Registered User
    Join Date
    06-21-2010
    Location
    Gothenburg
    MS-Off Ver
    Excel 2003
    Posts
    50

    Excel reinstalls features every time it opens

    Hello

    I have a problem. This started because when running a certain VBA function my Excel Application would crash with "Microsoft Office Excel has encountered a problem and needs to close" error. The problem was that every time I ran the code in break mode it never crashed. So I read somewhere that this might be helped by running Help+Detect and Repair. I tried that and it crashed while executing. So I tried running the Microsoft Office Application Recovery. It succeeded but now every time I open Excel (Or any other MS Office Application) it runs several installs every time I use a feature which is extremely annoying. How do I solve this?

    Also, does anyone know of any reason why my application would crash as described? It still does that.

    Thanks in advance
    Last edited by Brunstgnegg; 08-18-2010 at 08:27 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Excel reinstalls features every time it opens

    WE need to see the code & also know which version of Excel you have
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    06-21-2010
    Location
    Gothenburg
    MS-Off Ver
    Excel 2003
    Posts
    50

    Re: Excel reinstalls features every time it opens

    The problem is that it is a VERY big sub, calling several other subs. The weird thing is that it doesn't crash when I run it in break mode, it doesn't crash if I randomly add msgboxes to different places in the code and if it has run completely once, neither of the above are needed for it to succeed the next time.

    Because of the above it is very difficult to pinpoint any particular piece of code that's causing it because every time I do try to search for the problem, either via breaks or msgboxes it doesn't occur any more. If you have any suggestions regarding what to supply you with let me know.

    But the main question I had was about the reinstalls, what is causing those and how do I fix it?

    Thanks in advance

    Oh, excel 2003
    Last edited by shg; 08-17-2010 at 09:40 AM. Reason: deleted quote

  4. #4
    Registered User
    Join Date
    06-21-2010
    Location
    Gothenburg
    MS-Off Ver
    Excel 2003
    Posts
    50

    Re: Excel reinstalls features every time it opens

    Just in case someone finds this post I thought I'd give a little update. I ended up reinstalling Office and it works properly again, still havn't solved the crashing issues but that's another thread.

+ 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