Results 1 to 21 of 21

VBA Code for populating cells from one Work Book A to another Work Book with condition

Threaded View

  1. #1
    Registered User
    Join Date
    12-12-2013
    Location
    Sudbury
    MS-Off Ver
    Excel 2010
    Posts
    66

    VBA Code for populating cells from one Work Book A to another Work Book with condition

    Hi,

    I don't know much about VBA but know that VBA is an extremely rich programming language.
    It will be great if someone help me and write a code to solve my problem.

    I have 2 Excel workbooks ( A and B) at different locations.
    Excel workbook A has "Master Sheet" having unapproved projects list and workbook B has three sheets (Yes_Sheet, No_Sheet, Hold_Sheet)
    Both workbooks have same type of tables with same format(Please see attached workbooks)
    The only difference is that in workbook A there is an extra column (heading: Decision) with drop down list (Yes, No, Hold)

    What I want:
    1- when we select "Yes" from drop-down list under Decision heading in Master sheet of workbook A, it should transfer all data (from "Project Name" to Column 10 except Column 2 and Column 4) of first project from "Master Sheet" in workbook A to Yes_Sheet in workbook B.

    2- when we select "No" from drop-down list under Decision heading in Master sheet of workbook A, it should transfer all data (from "Project Name" to Column 10 except Column 5 and Column 9) of first project from "Master Sheet" in workbook A to Yes_Sheet in workbook B.

    3- when we select "Hold" from drop-down list under Decision heading in Master sheet of workbook A, it should transfer all data (from "Project Name" to Column 10 except Column 5 and Column 9) of first project from "Master Sheet" in workbook A to Yes_Sheet in workbook B.


    Each time when we select any one option from drop down list (Under Decision field in Master_Sheet of workbook A), it should transfer/populate the project data in next available row of required sheet (Yes_Sheet, No_Sheet, Hold_Sheet) of workbook B.

    I would like to thank you all in advance.

    Thanks
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Work book link to other work book
    By Mjh35 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-08-2014, 03:55 AM
  2. Replies: 2
    Last Post: 06-20-2012, 05:10 AM
  3. [SOLVED] Populating Textbox base on Combobox value from another work book
    By andywsw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-25-2012, 04:17 AM
  4. Creating auto populating Summary sheet as new sheets are added to work book
    By Phraedrique in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-18-2012, 05:01 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