+ Reply to Thread
Results 1 to 3 of 3

Simple VBA: Search string and delete

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

    Simple VBA: Search string and delete

    Simple VBA: Search string and delete
    I am looking for a simple VBA code, to search excel sheet2 for a string "0000X000xx1" and if found in cells then delete everything that is forward and backward of 0000X000xx1 until a line break is found.

  2. #2
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: Simple VBA: Search string and delete

    You've already asked the same question in the below thread ... No need to create a new one. Please mark this thread as [SOLVED] if the provided solutions in the other thread are sufficient

    https://www.excelforum.com/excel-pro...-color-it.html
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

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

    Re: Simple VBA: Search string and delete

    How to eliminate multiple blank rows in the excel cell keeping only one between lines as shown in the excel file.

+ 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] Simple VBA: Search string and color it
    By trueb in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-17-2022, 08:19 AM
  2. [SOLVED] VBA to search for specific string and delete range
    By chriskay in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-03-2020, 02:26 PM
  3. Simple macro to search text and delete any plus signs
    By fruitloop44 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-21-2018, 01:18 PM
  4. [SOLVED] Need to search for a specific string in Column A and delete values within the same row
    By hgeo24 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-27-2014, 04:56 PM
  5. Simple macro to search for string
    By Timmo246 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-12-2013, 11:37 PM
  6. Search dynamic selection and delete cell string
    By Andy748 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-11-2007, 02:33 AM
  7. Replies: 0
    Last Post: 02-21-2006, 12:10 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