+ Reply to Thread
Results 1 to 1 of 1

Finding & Retrieving words from columns

  1. #1
    Registered User
    Join Date
    04-24-2012
    Location
    San Francisco, USA
    MS-Off Ver
    Excel 2007
    Posts
    60

    Finding & Retrieving words from columns

    Hi all,

    I have the following spreadsheet (first two lines below)


    A C
    The Philipines - Business - BMM www.greatbusiness.gov.uk/ukti/category/angola-exporter
    Afghanistan - Sell - BMM www.greatbusiness.gov.uk/ukti/category/doing-business-in-the-philipines

    ...ETC


    I want to create some code that will loop through each cell in column A and pull out the country name, the next word, but not 'BMM'.
    It should then look through column C until it finds a cell that contains both words pulled out from column A. Once the url is found it should copy and paste it into the cell in column B, next to column A cell.

    So for the first cell (A1) it will pull out 'The Philipines' & 'Business'

    it will then look through column C and upon finding the appropriate URL in cell C2, it will then copy and paste this url into B1.

    It will then do the same with A2, and so forth...

    MANY THANKS IN ADVANCE.
    Last edited by pablowilks; 05-21-2015 at 10:36 AM. Reason: poor title

+ 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] Pattern Building VBA Code - Working code, would like to use cleaner code
    By Benisato in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-10-2015, 03:05 PM
  2. [SOLVED] Excel VB code. Message pops up while code running asking question. Code must not wait.
    By Heinrich Venter in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-28-2014, 06:10 AM
  3. [SOLVED] VBA code for assigning a numeric code to text; then numeric code populates table
    By cteaster in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-14-2014, 08:01 PM
  4. Replies: 2
    Last Post: 12-17-2013, 11:51 AM
  5. Replies: 2
    Last Post: 03-09-2013, 04:30 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