+ Reply to Thread
Results 1 to 5 of 5

type mismatched error 13 on general text ???

  1. #1
    Forum Contributor
    Join Date
    03-28-2017
    Location
    Thailand
    MS-Off Ver
    2013
    Posts
    241

    type mismatched error 13 on general text ???

    hi
    I have a loop that check the following :

    Please Login or Register  to view this content.
    the cells in D has a formula :

    Please Login or Register  to view this content.
    the formula works perfect, the cell is not formatted (general)


    on a time that a DEBLOCK appear in a cell and the loop detects it, I get a debug window on the "IF" line

    Type mismatched error 13, and I see in watch window error 2042 variant/error


    anyone understand this ???

    Thanks
    Chris
    Last edited by incobart; 05-31-2018 at 08:35 PM.

  2. #2
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: type mismatched error 13 on general text ???

    Can you create the issue in a sheet and upload it?

    use the go advanced button just below and to the right of the quick reply box.
    If you want something done right... find a forum and ask an online expert.

    Time flies like an arrow. Fruit flies like a banana.

  3. #3
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: type mismatched error 13 on general text ???

    Are you sure there isn't an error value in the cell when the code breaks?
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  4. #4
    Forum Contributor
    Join Date
    03-28-2017
    Location
    Thailand
    MS-Off Ver
    2013
    Posts
    241

    Re: type mismatched error 13 on general text ???

    hi, it looks not, I changed the formula from "DEBLOCK" to 0 and he went on,

    I saw that he already did a few time deblock before with no problem, so I put it back ans wait now if this was an exceptional occasion or not

  5. #5
    Forum Contributor
    Join Date
    03-28-2017
    Location
    Thailand
    MS-Off Ver
    2013
    Posts
    241

    Re: type mismatched error 13 on general text ???

    ok xlnitwit, you n were right !

    the cell where Deblock was, was ok, but in the column he had to check there was a #N/A
    I put if isna, "", in front.. problem solved

    thanks for suggestion

+ 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. Code to highlight mismatched text between 2 columns
    By Uvuriel03 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-08-2017, 04:37 PM
  2. [SOLVED] wheres my type mismatched??
    By bdrilling33 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-10-2014, 08:30 AM
  3. [SOLVED] "Run-time error '13': type mismatch when running macro to add text to end of text
    By nrjordan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-18-2012, 10:34 PM
  4. converting dates to general type of data
    By Vogelmann in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-24-2012, 08:49 AM
  5. Format: General - Text - General
    By iturnrocks in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2006, 11:50 AM
  6. [SOLVED] change pivot field of button type figure to general text
    By x taol in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-22-2006, 09:20 PM
  7. [SOLVED] User Type vs Class - General question:
    By Vacation's Over in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-19-2005, 03:05 PM

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