+ Reply to Thread
Results 1 to 3 of 3

can't copy paste data from another workbook based on Find or wtv function. GURU needed

  1. #1
    Forum Contributor
    Join Date
    09-23-2015
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    187

    Exclamation can't copy paste data from another workbook based on Find or wtv function. GURU needed

    Hi All,

    Master File I refer to is this Pro Fee Tool.xlsm
    Filepath - C:\Users\Suhail\Documents\Work\Pro Fee Dash Board\Pro Fee Tool.xlsm

    Context:
    In my master file ‘Pro Fee Tool’ column A as of row 3 all the way down for a good several thousand rows will contain a unique ‘SOW – Name’. The rest of the table to the right will be empty.
    Now, for each of the 'SOW - Name' rows in A, there will be a separate file pertaining to that unique ‘SOW – Name’ where I can pull the associated data mentioned in the headers in the columns to the right of A (example of the file attached below). The files are all stored in the same folder with the same filepath just the Workbooks vary in name, so the folder contains 1000’s of files like this [String from Column A].xlsx

    I have uploaded an example of the data workbook here Payments ADM.xlsx
    filepath - C:\Users\Suhail\Documents\Work\Pro Fee Dash Board\Pro Fee Tool Data Files\Payments ADM.xlsx
    in general filepath - C:\Users\Suhail\Documents\Work\Pro Fee Dash Board\Pro Fee Tool Data Files\[String from Column A].xlsx

    The Goal:
    using vba code, I would like it to look up the value in column A, open the associated file to that string, copy paste the data in the respected columns and loop and do this for all the data in column A: ‘SOW – Name’, and close these data files I don't want 100 files opened after executing the code.

    The SOW – Name in the Pro Fee Tool File will not always be 5 rows apart, some will be more some less. In the actual file I am working with you see why but I removed that part for the sample as it gets complicated. But regardless of them being separated at a variable amount of rows I know that using a Find, Match and Offset function that the data can be pasted in the right spots. The column headers in the Data Sheet are identical to that of the Pro Fee Tool ones so using these Find, match, hlookup functions will work.
    Also every single data sheet will be the exact same formatting with 1 row like that, just the data will change based on the SOW Name.

    Sorry for the long post . Are there any Gurus out there that can help me?? Anything would help Thank you in advance for taking your time to help !

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: can't copy paste data from another workbook based on Find or wtv function. GURU neede

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    04-28-2015
    Location
    sterling heights, MI
    MS-Off Ver
    MI
    Posts
    53

    Re: can't copy paste data from another workbook based on Find or wtv function. GURU neede

    Look at my posting here that I got helped on:

    http://www.excelforum.com/excel-prog...ease-help.html

    Hope this helps!

+ 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. Needed help: Copy, find in table, paste
    By Jozzz in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2014, 10:27 AM
  2. [SOLVED] Macro to find data in source workbook and copy paste to target workbook
    By D.Lovell in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 04-23-2014, 06:21 AM
  3. Macro needed to find cells that are automatically populated, then copy and paste
    By ten10thmuse in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-04-2014, 04:34 PM
  4. Replies: 6
    Last Post: 01-29-2013, 07:01 AM
  5. Replies: 1
    Last Post: 10-28-2012, 01:13 AM
  6. [SOLVED] Stock market data find symbol from csv data file, copy and paste to Master workbook
    By wkurukul in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-21-2012, 10:14 AM
  7. Copy - Paste Special.Values (with extra function) VBA Script needed!
    By Kevin2110 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-19-2011, 10:07 AM

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