+ Reply to Thread
Results 1 to 3 of 3

join multidimensional array vba

  1. #1
    Registered User
    Join Date
    02-26-2016
    Location
    Denmark
    MS-Off Ver
    MS 15
    Posts
    4

    join multidimensional array vba

    Hey Guys,

    I have a small problem, that I hope you guys can help me with:

    I have made a two dimiensional array (eg. data(i,j)) and I want for each i join the j's, if that makes sense. For example lets say I have the following table;

    ab bc
    cd de
    ef fg

    And I read this into the array eg,
    for i=1 to 3 (rows)
    for j=1 to 2 (columns)
    data(i,j)=cells(i,j)
    next
    next

    Now I want to join only over the j's like data (i,1 to 2), so I get the following output ;
    abbc
    cdde
    effg

    Does anybody know how to do this ?


    Br,
    Simon,
    Last edited by shs91; 02-26-2016 at 03:49 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: join multidimensional array vba

    Welcome to the board.

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: join multidimensional array vba

    Cross posted.
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

+ 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. multidimensional array problem
    By harold-sih in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-14-2014, 09:24 AM
  2. [SOLVED] Please help me with making a Multidimensional Array
    By learner99 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 07-03-2014, 03:17 PM
  3. Filling a MultiDimensional Array Row for Row
    By Guesty in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-10-2013, 07:44 PM
  4. Using the ReDim array function in a multidimensional array in excel
    By Doruli in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-05-2012, 01:43 PM
  5. String to multidimensional array
    By QldRobbo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2010, 03:47 PM
  6. Multidimensional Array
    By sidd in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2009, 09:57 PM
  7. Multidimensional array
    By gwithey in forum Excel Programming / VBA / Macros
    Replies: 31
    Last Post: 02-02-2009, 12:15 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