+ Reply to Thread
Results 1 to 3 of 3

VBA help needed to search two text strings and select ranges then clear cells

  1. #1
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    VBA help needed to search two text strings and select ranges then clear cells

    Folks,

    Please help me to create a macro to search for two text strings "Name" and "Total" in Column "A" then select range in between these text strings and Clear Cell Contents of offset column 3 (Column "D").


    I have attached the workbook of what I am trying to accomplish.

    Thanks in advance.
    Attached Files Attached Files
    Cheers,

    Joshi
    Being with a winner makes you a winner

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: VBA help needed to search two text strings and select ranges then clear cells

    Hi krjoshi,

    Try this:

    Please Login or Register  to view this content.
    Last edited by MarvinP; 11-04-2014 at 02:05 PM.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Contributor
    Join Date
    10-30-2011
    Location
    Doha
    MS-Off Ver
    MS office 365
    Posts
    701

    Re: VBA help needed to search two text strings and select ranges then clear cells

    Hi Marvin, Excellent code. Thank you so much

    Joshi

+ 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. VBA help needed to search a text string then select range.
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-03-2014, 07:53 PM
  2. [SOLVED] VBA help needed to find text string, clear cells then add new cell value
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-13-2014, 11:29 AM
  3. [SOLVED] Search for red filles cells or certain text strings cells in Column A and delete row.
    By The Skipper in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2013, 12:57 PM
  4. If Cells equal text strings then move to specific ranges
    By FN2010 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-13-2010, 12:26 AM
  5. [SOLVED] Fast way to search many cells by column for text strings
    By Mikee in forum Excel General
    Replies: 2
    Last Post: 07-01-2005, 02:05 PM

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