+ 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
    138

    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
    XL 2010,2016
    Posts
    12,158

    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
    138

    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)

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