+ Reply to Thread
Results 1 to 3 of 3

Copy 1 Cell Data Into Next Column

  1. #1
    Registered User
    Join Date
    08-26-2010
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Copy 1 Cell Data Into Next Column

    Really easy problem help please:

    So I have a column say from A1-AXX of data with commas separating them.

    So Ex:

    A1 cell has data: "1,2,3,4,5,6,7,8"

    A2 cell has data: "1,2,3,4,5,6,7,8"

    Now I want the data split from:
    A1 put into next B1,C1,D1,E1... until all the comma seperated data has been filled.
    A2 into B2,C2, D2, E2 ..... etc

    .... until all data has been entered.

    I know its suppose to go something like (logically):

    Select all column data A1-AXX as Integer = i (in this case the the columns)
    for ( new x; x < AXX ; x++ )
    {
    split (Ax, ",") = str
    Now put each value into the same row

    move onto next column
    }

    etc..

    I know this can be easily done with delimiter or whatever the option is but I wanna do it in vba macro :P cause I'm learning and I can't figure out how to use Ubound Lbound resize so please help :D

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,058

    Re: Copy 1 Cell Data Into Next Column

    Sorry, it was delimited solution :D
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    08-26-2010
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Copy 1 Cell Data Into Next Column

    Quote Originally Posted by rockell View Post
    I know this can be easily done with delimiter or whatever the option is but I wanna do it in vba macro :P cause I'm learning and I can't figure out how to use Ubound Lbound resize so please help :D

    ..... still need help :P

+ 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