+ Reply to Thread
Results 1 to 20 of 20

Type Mismatch Error appears everytime Excel is opened

  1. #1
    Registered User
    Join Date
    02-10-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    58

    Type Mismatch Error appears everytime Excel is opened

    Hi everyone,

    I've been having a rather non-invasive, but annoying problem. Everytime I open Excel Type Mismatch, Microsoft Visual Basic for Applications, appears. I have already deleted all my macros but this problem still appears. Is there anyway i can solve this? Or is there a way to "reset" my excel?

    Thanks,
    Russ

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Type Mismatch Error appears everytime Excel is opened

    Does this happen when you open a specific file, or any file?
    Does it happen when you open Excel by clicking on the Excel icon rather than opening a file?

  3. #3
    Registered User
    Join Date
    02-10-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    58

    Re: Type Mismatch Error appears everytime Excel is opened

    This happens with any file - even when i open Excel as a general application

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Type Mismatch Error appears everytime Excel is opened

    Does it give you the option to click on a "Debug" button when the error shows up?

    I suspect you have some kind of "Open Workbook Event" in a "Personal.xlsb".
    Delete that (or fix that) and all should be fine.

  5. #5
    Registered User
    Join Date
    02-10-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    58

    Re: Type Mismatch Error appears everytime Excel is opened

    Nah, it just shows the selection Ok or Help. It kept opening Personal.xlsb but i deleted that file a few hours ago. The error is still going on though...

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Type Mismatch Error appears everytime Excel is opened

    If you open the VBE (Alt+F11) does the Personal.xlsb still show in the list on the left hand side?

    If not, I'm stumped. I'm sure someone will come along with the solution though.

    BSB.

  7. #7
    Registered User
    Join Date
    02-10-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    58

    Re: Type Mismatch Error appears everytime Excel is opened

    Nope. I have attached my alt-F11 screen

    ATTACH]335133[/ATTACH]
    Attached Images Attached Images

  8. #8
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Type Mismatch Error appears everytime Excel is opened

    If you disable all add-ins do you still get the error?
    If posting code please use code tags, see here.

  9. #9
    Registered User
    Join Date
    02-10-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2013
    Posts
    58

    Re: Type Mismatch Error appears everytime Excel is opened

    That's amazing. I disabled my add-ins and the error disappeared. Its weird why that should happen considering the add-ins were from microsoft!

  10. #10
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Type Mismatch Error appears everytime Excel is opened

    It does seem a bit strange.

    Perhaps it's something to do with the version of Excel you are using.

  11. #11
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Type Mismatch Error appears everytime Excel is opened

    Enable the add-ins one at a time and reboot Excel to see which one is causing the problem then see if there is an updated add-in to replace the troublesome one.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  12. #12
    Registered User
    Join Date
    09-22-2014
    Location
    Portland, OR
    MS-Off Ver
    Office 2013
    Posts
    4

    Re: Type Mismatch Error appears everytime Excel is opened

    I get exactly the same problem.
    I have experienced the problem in Excel 2010 and 2013.
    I get the problem opening either an Excel file or simply opening Excel (i.e. no file, blank worksheet)

    I can reproduce the error by turning on or off the "Solver" add-in.
    With the solver add-in -> error. Without the solver add-in -> no error

    The behavior is that the error occurs immediately upon opening Excel even before the blank worksheet shows (2010).
    Once I dismiss the error everything works fine. I do fairly complicated spreadsheets, but do not use macros and I don't know VBA programming.

    Also, I get the error as soon as I enable the "Solver" add-in while Excel is running. As soon as I enable Solver I get the error with a blue spinning circle (i.e. nothing in Excel responds until the error is dismissed. Again, everything works fine after that until the spreadsheet is re-opened and the error occurs and, again, can be dismissed and everything works fine.

    I do not have any macros, VBA macros, hidden worksheets (I found various advice on the web on how to check those things).

    So, I don't see a ton of complaints about this on the web, so the only thing I can think of is that one of my Excel files is in some way messing with some part of the Excel environment (VBA??) that becomes part of my installation of Excel.

    I'm thinking of uninstalling and re-installing and seeing if the error happens before I open any of my old files.

    Thoughts?

    In my experience this is 100% reproducible in either Excel version I mentioned above.

  13. #13
    Registered User
    Join Date
    09-22-2014
    Location
    Portland, OR
    MS-Off Ver
    Office 2013
    Posts
    4

    Re: Type Mismatch Error appears everytime Excel is opened

    OK, I uninstalled Office 2013 and then re-installed.
    Then I opened Excel (just the app, no file) and the error appeared. I checked the add-ins and sure enough Solver was enabled. A clean install should not include Solver being enabled.
    This clearly indicates there was some environmental variables/data left around after the uninstall and picked up on the re-install.

    That may account for the persistence of the problem across Excel 2010 and 2013 installations (leftover environment files not removed by un-install).
    It also, perhaps, means that a somehow corrupted Excel file could have left environmental stuff that then generally affected Excel.

  14. #14
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Type Mismatch Error appears everytime Excel is opened

    Solver is part of the installation of Excel. You can however not select to install it when installing office. Look under Microsoft Excel, Addins and choose Not Available from the choices. Solver will then not be installed. You can uninstall Solver by going to Programs and Features, Microsoft Office, Change go to Excel, Addins and make solver unavailable.

  15. #15
    Registered User
    Join Date
    09-22-2014
    Location
    Portland, OR
    MS-Off Ver
    Office 2013
    Posts
    4

    Re: Type Mismatch Error appears everytime Excel is opened

    Quote Originally Posted by newdoverman View Post
    Solver is part of the installation of Excel. You can however not select to install it when installing office. Look under Microsoft Excel, Addins and choose Not Available from the choices. Solver will then not be installed. You can uninstall Solver by going to Programs and Features, Microsoft Office, Change go to Excel, Addins and make solver unavailable.
    I'm not trying to gt rid of Solver. I'm trying to understand why, immediately after installing office 2013, I get a Type Mismatch Error immediately after checking the Solver box in manage excel add-ins.

    Major point: There is no VBA code. It's a clean install.
    Major point: There is clearly stuff left behind after an uninstall that is being picked up with a re-install.

    Seems to me that the problem is in the stuff left behind after the uninstall. (Obviously some lame-brained thing I did in the past that is being propagated along.)

    Any ideas on how to clean the detritus left behind after uninstalling? I don't know how, but I'm betting that if I could do that it would solve the problem.

    Thanks.

  16. #16
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Type Mismatch Error appears everytime Excel is opened

    I have used Revo Uninstaller for uninstalling difficult programs. This was actually recommended to me by Adobe when I ran into problems with one of their products. After uninstalling with Revo, reboot and install again.

  17. #17
    Registered User
    Join Date
    11-20-2014
    Location
    KY
    MS-Off Ver
    2013
    Posts
    3

    Re: Type Mismatch Error appears everytime Excel is opened

    Quote Originally Posted by midhenry View Post
    I'm not trying to gt rid of Solver. I'm trying to understand why, immediately after installing office 2013, I get a Type Mismatch Error immediately after checking the Solver box in manage excel add-ins.

    Major point: There is no VBA code. It's a clean install.
    Major point: There is clearly stuff left behind after an uninstall that is being picked up with a re-install.

    Seems to me that the problem is in the stuff left behind after the uninstall. (Obviously some lame-brained thing I did in the past that is being propagated along.)

    Any ideas on how to clean the detritus left behind after uninstalling? I don't know how, but I'm betting that if I could do that it would solve the problem.

    Thanks.
    Hey I'm having the same problem with excel, were you able to find a solution to this?

    Thanks.

  18. #18
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Type Mismatch Error appears everytime Excel is opened

    Did you do an absolutely clean install as suggested earlier?

  19. #19
    Registered User
    Join Date
    11-20-2014
    Location
    KY
    MS-Off Ver
    2013
    Posts
    3

    Re: Type Mismatch Error appears everytime Excel is opened

    hey thanks for the reply, but no i didnt try it yet as i wanted to know if that helped the previous person.

  20. #20
    Registered User
    Join Date
    11-20-2014
    Location
    KY
    MS-Off Ver
    2013
    Posts
    3

    Re: Type Mismatch Error appears everytime Excel is opened

    Quote Originally Posted by newdoverman View Post
    Did you do an absolutely clean install as suggested earlier?
    i tried out with revo (and couple of other such uninstallers also) but some how i feel there are certain files that uninstallers dont manage to remove. Because as mentioned everytime i clean install office some how excel solver add on is also enabled. (afaik solver add on is not enabled by default. or is it in the office 2013?).

    anyway issue is still there it is annoying. any more suggestions?

+ 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. Excel VBA Run-time error '13' Type mismatch
    By svibuk in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-01-2014, 04:23 AM
  2. [SOLVED] error 13 excel type mismatch
    By ramborabs in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-19-2014, 06:21 AM
  3. [SOLVED] Excel VBA Run-time error '13' Type mismatch
    By mackypogi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-17-2013, 02:15 AM
  4. Error 13 Type Mismatch in excel VB
    By sid_excelforum in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-27-2013, 06:14 PM
  5. [SOLVED] Type mismatch error in Excel
    By [email protected] in forum Excel General
    Replies: 1
    Last Post: 04-28-2006, 12:45 PM

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1