+ Reply to Thread
Results 1 to 2 of 2

Number/Word Comb Indentification and Extraction

  1. #1
    Registered User
    Join Date
    06-16-2011
    Location
    Houston
    MS-Off Ver
    Excel 2003
    Posts
    4

    Number/Word Comb Indentification and Extraction

    Can a vba code be written to find a number/word comb. in a row, whose position changes per row and then copy it into another cell?

    Sub Test()
    For Each Cell In Selection
    If Cell Like "*MV" Then Cell.Copy.Like "*MV"
    Next Cell
    End Sub
    Last edited by smithan04; 06-17-2011 at 10:36 AM.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Number/Word Comb Indentification and Extraction

    Hi smithan04

    Please wrap your code in code tags, before the moderators get you...

    Click here - Forum rules
    3. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # button at the top of the post window. If you are editing an existing post, press Go Advanced to see the # button.
    Cheers

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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