Results 1 to 8 of 8

Transfer data to specific range based on condition

Threaded View

  1. #1
    Registered User
    Join Date
    03-14-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    12

    Transfer data to specific range based on condition

    Dear Excel Experts,

    I need to develop a Macro that performs the following when the bottom "Submit" is pressed:
    If In Book 1, Cell "C8" = "Q1" then the Macro will select Cells(B7, C7, D7, E7, E69, F69, G69, B8) and paste the result to Book2 in a range between A2:F19
    If in Book 1 Cell "C8" = "Q2" then the Macro will select Cells(B7, C7, D7, E7, E69, F69, G69) and paste the result to Book2 in a range between A20: F42
    If in Book 1 Cell "C8" = "Q3" then the Macro will select Cells(B7, C7, D7, E7, E69, F69, G69) and paste the result to Book2 in a range between A43: F62
    If in Book 1 Cell "C8" = "Q4" then the Macro will select Cells(B7, C7, D7, E7, E69, F69, G69) and paste the result to Book2 in a range between A62: F82

    I look forward t receiving your thoughts

    Kind Regards
    Last edited by khatibcell; 03-15-2013 at 08:59 AM.

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