+ Reply to Thread
Results 1 to 3 of 3

string search and data modificatoin

  1. #1
    Registered User
    Join Date
    05-07-2018
    Location
    Carolina
    MS-Off Ver
    2010
    Posts
    6

    string search and data modificatoin

    I have multiple tabs in a workbook , and each tab includes a string "DL-H1" but in various locations in each worksheet. the column preceding the string is a number field, and I would like to search all tabs, find that string and go back one cell to the number field and recalculate the number field (multiply it by 1.5), then continue on thru all tabs in workbook doing same thing. Any suggestions?

  2. #2
    Valued Forum Contributor Maudibe's Avatar
    Join Date
    12-21-2016
    Location
    USA
    MS-Off Ver
    2010-2013
    Posts
    326

    Re: string search and data modificatoin

    Lotsa,

    Try the following code which assumes that the value to be recalulated is adjacent to the left of the cell with the sought value and therefore, no sought value will be in column A. The code will cycles through entire workbook with unlimite sheets with unlimited matching values.

    HTH,
    Maud

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-07-2018
    Location
    Carolina
    MS-Off Ver
    2010
    Posts
    6

    Re: string search and data modificatoin

    Maud
    Thank you so much !! This works perfectly !! you are a genius !!

+ 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. Search within a string and return data
    By VegasL in forum Excel General
    Replies: 2
    Last Post: 04-19-2018, 11:58 PM
  2. Take data from array, insert into string, search for string in another array
    By Old4xford in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-12-2015, 02:56 PM
  3. Replies: 2
    Last Post: 01-02-2013, 08:35 AM
  4. [SOLVED] Search for string across header row, then search for another string down found column
    By TucsonJack in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-14-2012, 02:09 PM
  5. Search for word in a string of data
    By Cydney in forum Excel General
    Replies: 2
    Last Post: 02-11-2009, 11:58 AM
  6. [SOLVED] to search for a string and affect data if it finds the string?
    By Shwaman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-10-2006, 09:00 PM
  7. search a string withing a string : find / search hangs
    By itarnak in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-24-2005, 11:05 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