+ Reply to Thread
Results 1 to 3 of 3

Copy entire row to corresponding sheets based on vlookup

  1. #1
    Registered User
    Join Date
    06-10-2013
    Location
    boston
    MS-Off Ver
    Excel 2010
    Posts
    79

    Copy entire row to corresponding sheets based on vlookup

    Hope someone can help with this. I have a workbook with 6 sheets, All Products, EVT, cDVT, DVT, RTM, and Data for drop downs. I have a code that works great and I am just trying to keep it better organized. Column B has a part number drop down list and when selected it populates columns C, D, and E with Vlookup. I want to modify the code I have so that when column E is EVT, cDVT, DVT, or RTM, it will copy the entire row and paste it into the corresponding sheet. I attempted to do this with only sheet "EVT" and I modified my code below in an attempt to get this to work. I bolded the only section that pertains to this question but below is my entire code.
    Please Login or Register  to view this content.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: Copy entire row to corresponding sheets based on vlookup

    Is this solved?

    If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    06-10-2013
    Location
    boston
    MS-Off Ver
    Excel 2010
    Posts
    79

    Re: Copy entire row to corresponding sheets based on vlookup

    The vlookup formula I had in column 5 was the problem. Once i removed it the code worked fine.

+ 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