+ Reply to Thread
Results 1 to 2 of 2

Marco to perform vlookup and copy and paste in new worksheet

  1. #1
    Registered User
    Join Date
    11-26-2013
    Location
    Jackson, Wyoming
    MS-Off Ver
    Excel 2010
    Posts
    29

    Marco to perform vlookup and copy and paste in new worksheet

    hi,

    I have two reports that I need to run every day, I'm trying to create a macro that would run a vlookup formula using information in one report as the lookup value and information in the other report as the table array and then copy and paste any return values into a new workbook.

    The report name containing the information with the look up value is Detail Values and using the values in column K and the report that I want to see if the values are in (table array) would be Inventory Report, column R.

    I would like any returned values to be copied and pasted into a new workbook and labeled "Room Issues"

    All the reports will be saved in the same folder: C:\Rooms Reports, so not sure the best way to go about accomplish this task.

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Marco to perform vlookup and copy and paste in new worksheet

    We'd need to know the full table array address and what nth column you're trying to return.

    Where are these reports? Are they different files or different tabs? Where do the values you're looking up begin in K? When you output to the new workbook, where do you want them?

    Assuming you provide the necessary details, something along the lines of:

    Please Login or Register  to view this content.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

+ 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. Replies: 3
    Last Post: 01-01-2015, 06:26 AM
  2. Marco/VBA to copy a selection and paste into an email as a picture
    By jsneak in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-18-2014, 05:53 AM
  3. Copy and Paste Marco
    By Groves29 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-07-2013, 10:11 AM
  4. [SOLVED] Help with Looping a copy and paste marco
    By Robert110 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 03-26-2013, 11:02 AM
  5. Find, copy, and paste marco
    By OreEle in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-29-2011, 08:45 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