+ Reply to Thread
Results 1 to 2 of 2

VBA Excel 2007 : Autofit Merge Cells Error "Run-time error '13': Type Mismatch"

  1. #1
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    108

    VBA Excel 2007 : Autofit Merge Cells Error "Run-time error '13': Type Mismatch"

    Hello -

    I am desperately in need of your help because I can't seem to understand why the below script keeps giving me this error "Run-time error '13': Type Mismatch". The part with a red font is where the error is coming.

    Can you please help me in figuring out what I did wrong?

    Please Login or Register  to view this content.
    Thank you very much!!!!
    Last edited by Hudas; 07-19-2012 at 04:32 PM.

  2. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: VBA Excel 2007 : Autofit Merge Cells Error "Run-time error '13': Type Mismatch"

    I'm not sure if I am on the right track here but .Text means nothing in that context. The .Text should equal = or <> something.

    EDIT: That's definitely the problem.
    Last edited by Mordred; 07-18-2012 at 04:14 PM.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

+ 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