+ Reply to Thread
Results 1 to 2 of 2

Search through a specified workbook and return values from specified cells.

  1. #1
    Forum Contributor
    Join Date
    10-07-2013
    Location
    Wilts, England
    MS-Off Ver
    Excel 2013
    Posts
    100

    Post Search through a specified workbook and return values from specified cells.

    Hi all,
    So my problem is I'm trying to write a VBA script that using the content of a cell specified in my script, the script searches through a specified workbook. Once it's found a matching value the script uses the found row number and using set column letters, the script returns the values of 2 cells to specified cell numbers in the active sheet.

    What I have so far is a modded script I use to search through a folder and add hyperlinks to the relevant files. But I'm new to VBA so am a little lost.
    Any help would be greatly appreciated.
    THANK YOU
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    10-07-2013
    Location
    Wilts, England
    MS-Off Ver
    Excel 2013
    Posts
    100

    Re: Search through a specified workbook and return values from specified cells.

    Hi again guys, Sorry I forgot to add the Workbooks that I'm working with.
    I'm trying to take the value of cell E2 in book1, use the value as search criteria for book 2 to find a row number. Then using the found row number take the data from E? (found row) & F? (found row) and populate ActiveSheet D9 and F9.
    Sorry if its not very clear, but I'm new to this forum.
    Attached Files Attached Files

+ 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] IF-ISTEXT-SEARCH, to return values from multiple cells
    By CClio333 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-21-2013, 05:10 PM
  2. Search for like names and return values in adjacent cells
    By FahQ in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-19-2013, 08:08 PM
  3. search array of cells in one workbook and return the value of the adjacent cell
    By tomturner89 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-06-2013, 04:09 AM
  4. [SOLVED] VBA code to search for a word and return the values of numerous corresponding cells.
    By Schwartz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-20-2012, 03:25 PM
  5. -how to use VBA to search strings and return values or cells nearby
    By dp256 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-20-2009, 04:24 AM

Tags for this Thread

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