+ Reply to Thread
Results 1 to 4 of 4

Macro to auto copy entire row from master to worksheet based on column values

  1. #1
    Registered User
    Join Date
    05-19-2014
    Posts
    2

    Macro to auto copy entire row from master to worksheet based on column values

    I have an Excel database of department contracts with a Master worksheet. I have created a worksheet tab for each of the departments. Column G has a dropdown list for each department. When I enter a new contract onto the Master I want it to auto copy to the coordinating worksheet based on the selected department.

    If possible I would also like it to enter the newest contract would enter into the coordinating Contract Party entered into column D. (ie... If Hospital A is entered in column D on master, the new entry on the worksheet being copied to will be entered under the last Hospital A, if Hospital B is entered on Master it copies under Hospital B). If this isn't possible then I am not too worried about that part.

    I have attached a blank version of the file.

    Thank you to anyone that can help me figure this out!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Macro to auto copy entire row from master to worksheet based on column values

    Hi
    have a look at the sample here which should do what you want. There is a piece of code sitting behind t he Master worksheet. Whenever a value is changed in column G that row is copied to the relevant sheet. On that basis Column G should be updated last to ensure a full row of data is copied to the relevand worksheet.
    Hope this helps.
    Good luck.
    Tony

  3. #3
    Registered User
    Join Date
    05-19-2014
    Posts
    2

    Re: Macro to auto copy entire row from master to worksheet based on column values

    Thank you so much! I now just have to enter about 500 contracts!

  4. #4
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Macro to auto copy entire row from master to worksheet based on column values

    Hi
    If you have your current contracts in soft format there may be a way of copying them into Excel!
    Tony

+ 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. [SOLVED] Macro to Copy Master Worksheet create and paste in new auto named worksheet
    By TheRealLethality in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-15-2014, 12:46 AM
  2. Copy entire row from Master sheet based on two criteria
    By melispol44 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-06-2013, 08:07 PM
  3. [SOLVED] Macro to Search column for Text string and Copy Entire Row to another Worksheet
    By TJacks1908 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-09-2013, 07:11 AM
  4. Replies: 2
    Last Post: 12-26-2012, 09:36 AM
  5. Drop Down List to Copy Entire Contents of Worksheet into Master Worksheet
    By mrmartin in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-14-2011, 10:54 PM

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