+ Reply to Thread
Results 1 to 5 of 5

Excel VBA find, match and append worksheet values?

  1. #1
    Registered User
    Join Date
    06-18-2010
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2003
    Posts
    11

    Excel VBA find, match and append worksheet values?

    I am in need of VBA code that performs the following function(s):

    If any cell in Workbook 2, Sheet 1, Column B = any cell in Workbook 1, Sheet 1, Column B, then match value in Workbook 1, Sheet 1, Column A (A, B, C, etc) and enter matching result in Workbook 2, Sheet 1, Column A.

    Please Login or Register  to view this content.
    Result should be as follows on Workbook 2, Sheet 1:

    Please Login or Register  to view this content.
    As I am a complete novice with VBA code, I am not aware if macros can be executed to check against multiple workbooks. If not, I could always combine the data on one workbook, and use Sheet 1 and 2 - if necessary. Alternatively, I could have all the data in Sheet 1 only if that makes it even simpler.

    Thanks for your time and input.
    Last edited by shg; 06-23-2010 at 09:35 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Excel VBA find, match and append worksheet values?

    Welcome to the Board.

    If you post a question on multiple forums please ensure you detail them appropriately (as per Forum Rules)

    x-posted: http://www.mrexcel.com/forum/showthread.php?t=475651

  3. #3
    Registered User
    Join Date
    06-18-2010
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Excel VBA find, match and append worksheet values?

    Thanks! I inadvertently missed that rule. My apologies! I hope that will not discourage the experts to offer their assistance.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Excel VBA find, match and append worksheet values?

    Why a macro instead of a simple formula?
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    06-18-2010
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Excel VBA find, match and append worksheet values?

    No need for a macro if I can accomplish with a simple formula... kindly provide. Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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