+ Reply to Thread
Results 1 to 3 of 3

Excel 2010 (Run-time error '13' type mismatch) "Debug" and "Continue" Grayed out.

  1. #1
    Registered User
    Join Date
    12-18-2012
    Location
    TBA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Excel 2010 (Run-time error '13' type mismatch) "Debug" and "Continue" Grayed out.

    Hi,

    I'm not VBA/Marco savvy, however, I can piece together some logic within the VBA/Macros that were created.

    I have a spreadsheet with a Macro and VBA module within the Macro. There is a Macro Workbook which is a Excel standard macro which is run each time the spreadsheet is opened. The Macro just contains one line which calls an update macro and VBA functions which allows the delaying of the macro for a period of time (i.e. 10 seconds) for the spread sheet to have enough time to be populated with data received from an external system. Once the delay function is run, the update macro mentioned previously is called, which basically saves the populated spreadsheet to 2 separate files. The first saves the workbook as a csv file with a name equal to a parameter specified and places it into an archive folder. The second, save as uses another parameter which then places the file into a different folder to be converted into xml format. (Another application is used to perform the xml conversion).

    Everything was working fine, however, all of a sudden one day, I've received the error "Run-time error '13' type mismatch". The process still continues if I click "end" as "end" and "help" are the only options available. "Continue" and "Debug" are grayed out.

    Can you please help me understand why the spread sheet will not close automatically anymore? Everything else seems to work, it's just the spread sheet is not closing after the files are saved.

    Thanks.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Excel 2010 (Run-time error '13' type mismatch) "Debug" and "Continue" Grayed out.

    Hello Jeronimo,

    Welcome to the Forum!

    It would help to see the workbook and code.

    To Attach a Sample Workbook
    When you are in Advanced reply, click on the paperclip to open the upload window.

    View Pic
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    12-18-2012
    Location
    TBA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Excel 2010 (Run-time error '13' type mismatch) "Debug" and "Continue" Grayed out.

    Please Login or Register  to view this content.

+ 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