+ Reply to Thread
Results 1 to 3 of 3

Macro which copy cells if other cell have specific value

  1. #1
    Registered User
    Join Date
    09-21-2014
    Location
    Poland
    MS-Off Ver
    2010
    Posts
    1

    Macro which copy cells if other cell have specific value

    Hi guys,

    I need help with macro
    I need macro, that will be copy value from cells in column B from sheet1 to first avaible (free) cell in column D of sheet2 under condition that in cell in column F of sheet1 (in that row) is value "yes". After that i need to remove that row in sheet1. I have something like this at this moment:
    Please Login or Register  to view this content.
    I hope you can help me.
    Please!

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 365
    Posts
    8,027

    Re: Macro which copy cells if other cell have specific value

    Whenever you delete rows, you should start at the bottom of your data and work your way up. The macro should do what you want but because it starts at the bottom in Sheet1, the values in column D of Sheet2 will be copied in reverse order. If this doesn't matter, then it should work for you.
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Contributor
    Join Date
    06-07-2012
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    189

    Re: Macro which copy cells if other cell have specific value

    Cross posted http://www.mrexcel.com/forum/excel-q...condition.html

+ 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 specific data from one WB to specific cells in another WB based on specific
    By d_rose in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-26-2014, 11:05 AM
  2. Macro to copy specific line from text file and paste into specific cell in excel
    By keeneye in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-05-2013, 10:35 AM
  3. HELP! Macro to Copy specific cells from one sheet to another based on specific criteria
    By atriscritti in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-11-2012, 11:05 AM
  4. Macro to copy specific cells from one workbook to another
    By dwight.yorke@gmail.com in forum Excel General
    Replies: 4
    Last Post: 06-09-2006, 11:35 AM

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