+ Reply to Thread
Results 1 to 4 of 4

Macro to separate the string of texts (with line break) and paste them in every cells (2)

  1. #1
    Registered User
    Join Date
    08-29-2016
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    41

    Macro to separate the string of texts (with line break) and paste them in every cells (2)

    Hi all

    This is a continued version of the previous request (1 column)

    A special thanks to mr nilem and YasserKhalil for responding to my previous thread.

    Initially, I thought of splitting up one column at a time but now I am wondering if there is a macro that can separate the string of texts (with line break) in the 2 columns and paste them in every cells.

    There will be many rows (from row 2 to infinity) on a weekly basis.

    Before.PNG After.PNG

    Thank you for reading and thank you for you help
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Macro to separate the string of texts (with line break) and paste them in every cells

    Hi,

    One way

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Macro to separate the string of texts (with line break) and paste them in every cells

    Hi Fantasylo,
    try
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    08-29-2016
    Location
    Singapore
    MS-Off Ver
    2007
    Posts
    41

    Re: Macro to separate the string of texts (with line break) and paste them in every cells

    Hi Richard Buttrey and nilem

    Both codes work! Thank you for your help! It really means a lot to me.

    Thanks and have a nice day!

+ 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] Macro to separate the string of texts (with line break) and paste them in every cells
    By fantasylo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-08-2016, 11:10 PM
  2. Replies: 7
    Last Post: 08-06-2014, 08:47 AM
  3. Separate out a text string in one cell, and break into into individual cells
    By StephenHall in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-05-2012, 03:45 PM
  4. Expected End of Line; Trying to break up string block in VBEditor
    By AlvaroSiza in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-05-2012, 02:28 AM
  5. Line Chart Question - break in line for blank cells
    By JonPugh in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 12-09-2009, 09:39 AM
  6. Split string by line break into array
    By kennychung in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-12-2009, 12:18 PM
  7. Macro to break up a string into different cells
    By mick02 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-14-2008, 08:12 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