+ Reply to Thread
Results 1 to 4 of 4

Copy and paste through vba

  1. #1
    Registered User
    Join Date
    11-03-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    23

    Lightbulb Copy and paste through vba

    Hi All,

    Need little help on this.

    Attached is the sample excel sheet. It will help you to understand what I am trying to achieved 

    In attached sheet, it has 10 sheets (sheet1, sheet2, sheet3….. so on up to sheet10) all sheets have same formatting and some data in it. There is one another sheet called ‘summary’.

    Is there a VBA code can check every single sheet (sheet1, sheet2, sheet3 upto sheet10) with following criteria

    If probability column = High or Very high, Impact column = Very High or High or both have same value, High and Very high and chk if status column= blank in sheet1, sheet2, sheet3…. So on sheet10) copy those rows and paste in to summary sheet.

    Probability Column Impact Column Status If
    High Very High Blank True
    Very High High Blank True
    High High Blank True
    Very High Very High Blank True

    If any of the criteria will true copy that whole row and paste into summary sheet.

    I hope this will make sense.

    Looking forward to hear from anyone 
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-03-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Copy and paste through vba

    23 views to this post, but no solution so far :P

    i think i am asking too much

  3. #3
    Registered User
    Join Date
    11-03-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Copy and paste through vba

    what if we drop last criteria and just run first two cafeterias Probability and Impact?

  4. #4
    Registered User
    Join Date
    08-27-2013
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    30

    Re: Copy and paste through vba

    I'll bite..but there are multiple steps in your request.

    In column S
    S11 Title = "MoveToOtherSheet"
    S12 put an equation =If((Countif("K12","=*High*")+Countif("L12","=*High*"))=2,1,0), copy it down to s30
    Use the equation as a flag to decide if you need to copy to summary sheet
    Now you need to loop through each sheet

    This is only meant to give you another starting point
    Please Login or Register  to view this content.

+ 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. Replies: 3
    Last Post: 01-01-2015, 06:26 AM
  2. How do I make the copy/paste of one column contingent on the copy/paste of another?
    By Kwasimitsu in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-23-2014, 01:51 PM
  3. Replies: 1
    Last Post: 01-16-2013, 05:36 AM
  4. 2 Macro's: only vertical copy/paste action and copy-paste 14 columns to the right.
    By vdongen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-08-2010, 10:34 AM
  5. Replies: 1
    Last Post: 01-04-2005, 06:06 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