+ Reply to Thread
Results 1 to 5 of 5

VBA to copy and paste row to next available based on value

  1. #1
    Registered User
    Join Date
    02-21-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    40

    VBA to copy and paste row to next available based on value

    Hey Guys

    I have the attached sheet as an example and what I am trying to do is, if the category = 'Regular' and as soon as the progress is selected at 100% (meaning the task is complete), I want columns A:D to be copied and pasted to the next available row, with column F indicated as todays date (to prompt the user to amend this to the next one).

    E.g. if Reference3 task- you change progress from null to 100%, immediately that row is copied and pasted to row 5, with a date due of today and blank progress.

    Cheers
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    11-19-2012
    Location
    Quantico, VA
    MS-Off Ver
    Excel 2013
    Posts
    74

    Re: VBA to copy and paste row to next available based on value

    Do you have example code of what you have tried so far? What your asking for is not difficult but I personally would be more prone to help if you showed you were atleast trying and not just making request.

  3. #3
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: VBA to copy and paste row to next available based on value

    Copy and paste this macro into the worksheet code module. Do the following: right click the tab for your sheet and click 'View Code'. Paste the macro into the empty code window that opens up. Close the code window to return to your sheet.
    Please Login or Register  to view this content.
    Last edited by Mumps1; 09-11-2016 at 10:17 AM.
    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.

  4. #4
    Registered User
    Join Date
    02-21-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    40

    Re: VBA to copy and paste row to next available based on value

    Thanks Mumps1 that works great ;-)

  5. #5
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,810

    Re: VBA to copy and paste row to next available based on value

    My pleasure.

+ 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. Copy and paste data from master based on a specific format based on Invoice number
    By anandnair1983 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-28-2015, 06:32 AM
  2. Replies: 0
    Last Post: 09-28-2015, 06:32 AM
  3. Copy paste based on value
    By GeekiInPink in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-16-2015, 09:53 PM
  4. Replies: 0
    Last Post: 10-29-2013, 09:38 AM
  5. [SOLVED] Copy and Paste Based on Conditions
    By Hazarrd in forum Excel Programming / VBA / Macros
    Replies: 36
    Last Post: 10-14-2013, 05:44 PM
  6. Copy and Paste Rows based on Criteria onto another sheet and sort based on oldest item
    By Kushal8684 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2013, 05:37 AM
  7. Copy row based on date and then paste into a new worksheet based on section number
    By calmlaunch in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-25-2011, 11:40 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