+ Reply to Thread
Results 1 to 3 of 3

Loop to find, copy and paste data doesn't work

  1. #1
    Registered User
    Join Date
    02-13-2012
    Location
    Oshkosh, WI
    MS-Off Ver
    Excel 2010
    Posts
    2

    Loop to find, copy and paste data doesn't work

    Hello All,

    I'm trying to find information in a second spreadsheet that matches information from the first and then return the found values back to the first spreadsheet. The problem is it doesn't seem to be looping through all of the data in the second spreadsheet. The code looks like this...
    Please Login or Register  to view this content.
    ]Scheduling Tool.xlsm
    I've also attached the spreadsheet. I hope to be able to take this code and apply it to a much larger data set. Let me know If you need any more information, any and all help is appreciated.
    Last edited by mazerinth; 02-13-2012 at 01:26 PM.

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Loop to find, copy and paste data doesn't work

    AS you appear to be trying to match a substring you may benefit from not using the inner select constructs but using a statement like ...


    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-13-2012
    Location
    Oshkosh, WI
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Loop to find, copy and paste data doesn't work

    Thanks, I solved the issue by changing the data type of the input variables.

+ 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