+ Reply to Thread
Results 1 to 3 of 3

Error 13: Type Mismatch

  1. #1
    Forum Contributor
    Join Date
    05-13-2019
    Location
    Halifax, Canada
    MS-Off Ver
    2016
    Posts
    140

    Error 13: Type Mismatch

    Hi experts and gurus,

    I have a problem of "Error 13; Type mismatch", while running this code below:

    Please Login or Register  to view this content.
    I did not have any problem in my other pivot tables with the same code. Please suggest me if I can use the alternate code.

    Thank you
    Roshan Shakya

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    12,292

    Re: Error 13: Type Mismatch

    That can't be the entire code and how do you think we would be able to test the code?

  3. #3
    Forum Contributor
    Join Date
    05-13-2019
    Location
    Halifax, Canada
    MS-Off Ver
    2016
    Posts
    140

    Re: Error 13: Type Mismatch

    Thanks davesexcel for the response.

    I understand the difficulty in understanding the problem without entire code. I found that the codes did have a problem without the following additional codes:

    On Error Resume Next
    .......
    On Error Goto 0

    I added these lines of codes at the beginning and at the end of codes creating Pivot Table and it worked.

    Thank you

+ 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. [SOLVED] RunTime Error 13 ( type mismatch ) error is comming TextboxAfter_Update
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-04-2017, 03:55 AM
  2. Run Type error 13 Type Mismatch
    By Affan Khan in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-13-2012, 12:58 PM
  3. [SOLVED] Run-type error 13 type mismatch
    By misop in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-05-2012, 04:08 AM
  4. Complile Error: Type Mismatch ??? After adding error trap
    By clemsoncooz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-22-2012, 03:50 PM
  5. Conditional Formatting - Run Time Error '13' Type Mismatch Error
    By ksp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-17-2011, 07:37 PM
  6. error '13' type mismatch
    By Bope in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-04-2008, 08:02 AM
  7. Help: Compile error: type mismatch: array or user defined type expected
    By lvcha.gouqizi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2005, 05:05 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