+ Reply to Thread
Results 1 to 5 of 5

VB code to find text

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    VB code to find text

    Hello:

    Please refer to attached file.
    I need VB Code to do following.
    Look for description starting with text "Check" in column C.
    If it finds then copy the number after # from that cell into corresping cell in column B.

    Example:
    Cell C8 = Check #1124, so put B8 = 1124

    Let me know if you have any questions.
    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,122

    Re: VB code to find text

    How about
    Please Login or Register  to view this content.

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: VB code to find text

    Could be done with a formula
    Enter in B2 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: VB code to find text

    Hello:

    Thanks Fluff13, it works.
    Thanks Alkey, i may think of using Formula

    Riz

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,122

    Re: VB code to find text

    Glad to help & thanks for the feedback

+ 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] VB Code to find certain text and delete row
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-12-2016, 01:29 PM
  2. Find best match - code within text
    By sryair in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 02-22-2016, 04:26 AM
  3. InStr function doesn't find specific text, but finds any text in column and runs code
    By mikey3580 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-27-2014, 03:50 AM
  4. Find Text VBA code
    By MARKSTRO in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-01-2011, 01:27 PM
  5. Troubleshoot code to find text.
    By gshock in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-29-2008, 07:45 PM
  6. How do I modify this code to find text?
    By gshock in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-29-2008, 03:23 PM
  7. code to find out if text box is empty
    By Josh_123456 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-26-2006, 04:53 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