Help needed to modify the following code so that the data is copied only once.

  • Hi All,
    I have attached four workbooks. 3 from suppliers and one masterdata.
    The three supplier’ workbooks are Supplier-a.xlsx, Supplier-b.xlsx, Supplier-c.xlsx and the master zMaster.xlsm
    I am able to transfer the data from the suppliers’ workbooks to the master workbook, but, I have to hard code the number of lines.

    I want to alter the code below to do two things
    1. Be able to drag thousands of lines.
    2. Update the lines that have been dragged to show “Yes” in column E and they are not dragged again.
    Regards

    Raghu


    Code
  • Re: Help needed to modify the following code so that the data is copied only once.


    Hello,


    You request looks like ... a job assignment ... :wink:


    May be you should post this mission ... in the HIRE section ...

    If you feel like saying "Thank You" for the help received, do not hesitate to click the "Smiley" icon, below, in the bottom right corner :)

  • Re: Help needed to modify the following code so that the data is copied only once.


    Hi raghuprabhu


    Welcome to the Forum!!


    Replace your LoopThroughDirectory Code with this...


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!