+ Reply to Thread
Results 1 to 3 of 3

Script to Search for a specific String then return cell values above that String-4

  1. #1
    Registered User
    Join Date
    05-08-2010
    Location
    AZ
    MS-Off Ver
    Excel 2007
    Posts
    49

    Script to Search for a specific String then return cell values above that String-4

    I am currently using this sript to find the data I am looking for. I believe there is a more efficient way to get it to do what I want it to do...Essentially I need a script to comb through garbled data and look for a string containing the phrase, "Special Interest Person (SIP)*", then move back up the data and copy/paste the string containing the phrase, "Entity RecordID" into a new sheet (SIPs). The one below will commonly freeze...

    Please Login or Register  to view this content.
    Thanks Alan! Still learning
    Last edited by owensjb2; 04-02-2015 at 08:14 PM. Reason: Added code tags

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,810

    Re: Script to Search for a specific String then return cell values above that String-4

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,496

    Re: Script to Search for a specific String then return cell values above that String-4

    Could you attach a workbook with before and after.
    It should represent the original layout but have no personal information and/or names.

+ 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] Script to Search for a specific String then return cell values above that String-3
    By owensjb2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-01-2015, 01:50 PM
  2. [SOLVED] Script to Search for a specific String then return cell values above that String-2
    By owensjb2 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-01-2015, 01:00 PM
  3. [SOLVED] Script to Search for a specific String then return cell values above that String
    By owensjb2 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-01-2015, 11:28 AM
  4. Macro Script to return a cell values realted to a string
    By owensjb2 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 03-26-2015, 09:27 AM
  5. Replies: 3
    Last Post: 10-03-2012, 03:09 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