Results 1 to 28 of 28

VBA code to import pick'em picks into master sheet

Threaded View

  1. #1
    Registered User
    Join Date
    07-18-2011
    Location
    Georgia
    MS-Off Ver
    MS Office 2010
    Posts
    16

    VBA code to import pick'em picks into master sheet

    I've created two spreadsheets used for a friendly workplace college pick'em. One spreadsheet is sent out to everyone to send back with their picks and the other is the master where all the picks are compiled. In the past I've opened each person's pick file and copy and pasted their picks in the the master. I'd like to see if some VBA code could make this a lot simpler. I've attached my two spreadsheets (Updated: deleted attachments see lower posts for attachments).

    I would like the code to prompt me to tell it what the master file is and what the weekly pick file is (and after importing one set of picks ask me for another pick file until complete). What I struggle with is how to get the code to match the person's name in the pick file to the master file and paste their picks in that row.

    The code should find the person's name in the weekly pick file (Z2) and find the matching row of data in the master (somewhere in Column A starting in row 3). Once it is found copy their picks in the weekly pick file (AA2:AN2) and paste on the approriate row in columns B-O. Would also like to copy their tie breaker scores in their weekly picks (AO2 & AP2) into the appropriate row in the masters in column R & T respectively.

    Few notes: There will always be 14 games that are picked and there will always be two games scores used for tiebreakers. The weekly pick will always have the same setup and sheet names. The master file sheet name will change each week (Week 2, Week3, etc.) so some option to change the code each week would be nice.

    I appreciate any help anyone would be willing to give. Thanks in advance. -Chad
    Last edited by chadwick140; 08-26-2013 at 08:54 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Formula in one cell that picks up another based on dates provided in the same sheet
    By s.tara91 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-16-2013, 12:58 AM
  2. vba code for master sheet
    By kandre in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-21-2013, 10:17 AM
  3. VBA Sheet array code not working with drop down lists in master sheet
    By chiplaidlaw in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-03-2012, 11:01 AM
  4. Replies: 2
    Last Post: 07-17-2008, 08:37 AM
  5. Validation Pick Lists: Picks containing spaces
    By ComcoDG in forum Excel General
    Replies: 11
    Last Post: 07-15-2008, 04:42 PM

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