+ Reply to Thread
Results 1 to 4 of 4

VBA: delete line break and concatenate below numbers if searched string found.

  1. #1
    Registered User
    Join Date
    09-02-2022
    Location
    India
    MS-Off Ver
    2010
    Posts
    13

    VBA: delete line break and concatenate below numbers if searched string found.

    VBA: if the searched string is found, delete the line breaks and concatenate the below numbers.
    I am looking for a simple VBA code to delete line break (to concatenate points separated as (1), (2), (3),....(last number)) if the searched string 8string& found: is found.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: VBA: delete line break and concatenate below numbers if searched string found.

    try
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    09-02-2022
    Location
    India
    MS-Off Ver
    2010
    Posts
    13

    Re: VBA: delete line break and concatenate below numbers if searched string found.

    Quote Originally Posted by jindon View Post
    try
    Please Login or Register  to view this content.
    Thank you but the VBA works only on one row cell and not in the below rows.

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,523

    Re: VBA: delete line break and concatenate below numbers if searched string found.

    Please Login or Register  to view this content.
    Last edited by jindon; 09-18-2022 at 12:53 AM.

+ 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. Help: concatenate, skip blanks, add line break
    By tiggynook in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-03-2021, 10:30 AM
  2. [SOLVED] VBA: Clean CSV line break file (concatenate based on value)
    By AndersThyme in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-29-2020, 05:27 AM
  3. Set Const Delimiter as line break (non-string)
    By KDDB in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2016, 10:28 AM
  4. [SOLVED] Concatenate text with a line break
    By AnnieMcken in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-22-2014, 12:44 PM
  5. [SOLVED] Insert line break and format text with CONCATENATE (or &)
    By AnnieMcken in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-17-2014, 12:24 PM
  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. Line break using Concatenate
    By kys2000 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-27-2007, 06:03 PM

Tags for this Thread

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