Closed Thread
Results 1 to 6 of 6

Macro Error, can't locate problem

  1. #1
    Registered User
    Join Date
    03-05-2015
    Location
    Michigan
    MS-Off Ver
    2007
    Posts
    6

    Macro Error, can't locate problem

    New Here and I need some help.

    I had a friend create a program and it has worked perfectly for a while. Now I am having issues with it and can't get in contact with him. The program looks a values in Column A, and if find finds the value in Column B and combines them into a cell with a delimiter of ";" (semicolon). I have a set of data that it will not do this for, it keeps giving me a Runtime Error '13', type mismatch.


    As I said this is over my head, here is the code that he created. The line in bold is where the debug says the issue is. I have searched and searched and can't find the problem.

    _____________________________________________________________________________________
    Please Login or Register  to view this content.
    _____________________________________________________________________________________

    Attached is the list I am working with.


    Please any help is appreciated.
    Attached Files Attached Files
    Last edited by group-am; 03-05-2015 at 04:07 PM.

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Macro Error, can't locate problem

    Not sure of the solution yet... I think the problem is the length of the contents in column B are so long, the code is fine on its own
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Macro Error, can't locate problem

    Group-am,
    Please wrap your code in tags as per forum's rule
    Hi Arkadi
    It might be the transpose has a limit on the length of characters.
    Try a different solution.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-05-2015
    Location
    Michigan
    MS-Off Ver
    2007
    Posts
    6

    Re: Macro Error, can't locate problem

    Quote Originally Posted by AB33 View Post
    Group-am,
    Please wrap your code in tags as per forum's rule
    Hi Arkadi
    It might be the transpose has a limit on the length of characters.
    Try a different solution.
    Sorry about that, I updated the post and wrapped the code.

    Thank you.

  5. #5
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: Macro Error, can't locate problem

    AB33 good idea, manually transposing data works, and I watched items get added when I step through his macro... yet the ubound of the items is 0? I'm a bit stumped on this one so far, but then I never use dictionaries (i should).

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Macro Error, can't locate problem

    Closed at OP's request.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. macro to locate locate text string and copy/paste offset range
    By guystanley in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-16-2014, 08:46 PM
  2. [SOLVED] Run-time error '-2147467259 (80004005)' / unable to locate problem
    By Lloyd Blankfein in forum Access Programming / VBA / Macros
    Replies: 18
    Last Post: 08-06-2013, 12:58 PM
  3. Problem with web query, cannot locate server error
    By batjl9 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-11-2011, 01:52 PM
  4. how to use find function to locate error cells?
    By perfection in forum Excel General
    Replies: 1
    Last Post: 10-24-2010, 10:52 PM
  5. [SOLVED] Outlook Automation Error Problem - Can't locate Outlook Module
    By Allan P. London in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-14-2005, 06: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