+ Reply to Thread
Results 1 to 2 of 2

VBA: Split cell values into multiple rows and keep other data

  1. #1
    Registered User
    Join Date
    05-29-2018
    Location
    India
    MS-Off Ver
    2007
    Posts
    7

    VBA: Split cell values into multiple rows and keep other data

    Hi all

    I got the vba code Split cell values into multiple rows and keep other data

    But it's copying cell values in same column i want to copy data in separate column please check Attached files Main file vba and output file excel

    Please Login or Register  to view this content.


    Example:

    ColA ColB ColC ColD
    Monday A,B,C Red Email


    Output:

    ColA ColB ColC ColD
    Monday A Red Email
    Monday B Red Email
    Monday C Red Email

    Please help

    Thanks
    Attached Files Attached Files
    Last edited by alansidman; 05-30-2018 at 09:04 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: VBA: Split cell values into multiple rows and keep other data

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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] Formula to split data from one cell into multiple rows
    By tchock in forum Excel General
    Replies: 6
    Last Post: 01-21-2018, 10:11 AM
  2. [SOLVED] Multiple values in single cell (known column) split into rows with duplicate information
    By bwashbourne in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-06-2015, 05:00 PM
  3. Excel VBA - Split rows of data into multiple workbooks based on cell value
    By DoodlesMama in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-26-2015, 03:35 PM
  4. [SOLVED] Split a cell of data into multiple rows
    By otterandrews in forum Excel General
    Replies: 4
    Last Post: 03-24-2013, 11:59 PM
  5. Split multiple values in a cell to multiple rows
    By karmithr in forum Excel General
    Replies: 2
    Last Post: 03-04-2013, 08:34 PM
  6. Row split in to multiple rows based on cell data
    By bosuck in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-08-2011, 05:30 PM
  7. Split cell data into multiple new rows and copy other column values
    By jooga in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-01-2010, 02:30 AM

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