Results 1 to 4 of 4

Split column of names into multiple columns

Threaded View

  1. #1
    Registered User
    Join Date
    10-07-2011
    Location
    The Great State of Texas
    MS-Off Ver
    Excel 2013
    Posts
    28

    Split column of names into multiple columns

    Hi! I have attached a sample workbook. I will have an unknown number of alphabetized names in Column A. Could someone please help me with some VBA code that would ask the user how many columns s/he would like and then divide the names in Column A into the requested number of columns?

    For example, if the user wants two columns, Column A would list (starting in A4), "Barbara" through "Martindale" and Column B (starting in B4) would list "Matthews" through "Wyche."

    If the user wants three columns, Column A would list (starting in A4), "Barbara" through "Gray", Column B would list "Gustason" through "Shirley" and Column C would list "Silverhorn" through "Wyche" starting in Row 4, respectively.

    Thank you!
    Attached Files Attached Files
    Last edited by madaboutgolf; 12-16-2011 at 05:19 PM.

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