+ Reply to Thread
Results 1 to 2 of 2

Col of Concat-ed cell causes error when using Application.Index(arrS, i, 0) in diff Maro

  1. #1
    Forum Contributor
    Join Date
    07-11-2010
    Location
    Minneapolis, USA
    MS-Off Ver
    Excel 2016
    Posts
    308

    Col of Concat-ed cell causes error when using Application.Index(arrS, i, 0) in diff Maro

    I am using the Concatenation code I got (and modified into a function but I have not altered the code that concatinates) by @jindon, it works wonderfully.

    The problem is that the column of concatenated cells throws a error in a different Macro that matches columns even though the concatinated column is not one of the matching columns of the matching macro.

    If I delete the column of concatenated cells the matching Macro work fine.

    The error ocrurs at this point in the matching macro
    Please Login or Register  to view this content.
    I am pretty sure the problem is
    Please Login or Register  to view this content.
    Is their a way to get the Concatenate code below to not produce this error when it encounters
    Please Login or Register  to view this content.
    Thank you

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    07-11-2010
    Location
    Minneapolis, USA
    MS-Off Ver
    Excel 2016
    Posts
    308

    Re: Col of Concat-ed cell causes error when using Application.Index(arrS, i, 0) in diff Ma

    Turns out that some of the cells in the sheet were over the 254 char limit(figured out here by Paulyb)and this was causing the error 13 thrown by Application.Index(arrS, i, 0) in the maching function and had nothing to do with the ConCat code

    The fix was to re-write the Matching function without using Application.Index(arrS, i, 0)

+ 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] Obj Variable or with variable not set error on emailing diff jpg data to diff recipients
    By BigDawg15 in forum Outlook Programming / VBA / Macros
    Replies: 9
    Last Post: 11-16-2014, 12:51 PM
  2. [SOLVED] Obscure VBA error? Application.Run conflicts with Application.GetOpenFileName
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-15-2013, 08:31 PM
  3. Diff. between Vlookup and Match/Index
    By RATUL in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-17-2013, 02:03 PM
  4. Replies: 4
    Last Post: 10-09-2010, 06:55 PM
  5. [SOLVED] How to set a formula in a cell? Application-defined error.
    By John Wirt in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-18-2005, 11:06 AM

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