+ Reply to Thread
Results 1 to 2 of 2

VBA: send row to another worksheet and copy row to multiple worksheets based on column

  1. #1
    Registered User
    Join Date
    07-15-2014
    Location
    liverpool
    MS-Off Ver
    2003
    Posts
    24

    Post VBA: send row to another worksheet and copy row to multiple worksheets based on column

    Morning Mavericks

    I would be eternally grateful for your help on the following:

    As you will see from the attached spreadsheet I have sheets named: Activities, Completed January Febuary March etc... I have been struggling with this issue for one week as I cannot write VBA and although there are many similar examples out there - none seem to fit; although part of that problem is my inability to manipulate the code too!

    I am currently designing a tool to log progress on an improvement plan. The master sheet/"Activities" sheet logs all improvements that are outstanding. A second sheet/"Completed" sheet should hold any improvements that have been met. 12 other sheets (January - December) will hold the history of that improvement since it was logged as "Outstanding" to the time it is "Met". To explain - an improvement can be monitored several times but might not be classified met i.e. "monitored but unmet". I need to capture on the relevant month tab that at that time that improvement was "Monitored but unmet".

    Based on the scenario described above, I hope I have articulated the questions suitably below:


    1. That when the status of Column A is changed from "Outstanding" to "Met" that the entire row is sent to the Completed Sheet and the original row in Activities sheet is deleted
    2. That when the status of Column A is changed from Outstanding to "Monitored but unmet" that the entire row is copied to the relevant month sheet (column I) but that the original row remains and that the code allows that row to be used repetedly to select "Monitored but unmet" . The row should only disappear from the Activities sheet when the status is changed from "Outstanding" to "Met" (as described in 1). Each of the month sheets will act as a chronology for all the occasions in that year that the activity was "Monitored but unmet".

    Thanks you for your altruism and brilliance

    Catherine




    Attachment 333112
    Attached Files Attached Files

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

    Re: VBA: send row to another worksheet and copy row to multiple worksheets based on column

    Hi Catherine. Copy and paste this macro into the worksheet code module. Do the following: right click the tab for your sheet "Activities" and click 'View Code'. Paste the macro into the empty code window that opens up. Close the code window to return to your sheet. Make the appropriate choices in column A.
    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.

+ 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] Copy column data from multiple worksheets to single worksheet based on header criteria
    By nateaskins in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 03-21-2014, 10:42 AM
  2. How to split worksheet into multiple worksheets based on column content
    By jjexcels in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 11-05-2013, 11:42 AM
  3. [SOLVED] How to split worksheet into multiple worksheets based on column content
    By johnboytweed in forum Excel General
    Replies: 12
    Last Post: 10-16-2013, 12:01 PM
  4. Separating a Worksheet into multiple worksheets based on column A field.
    By Drifter33 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2010, 04:16 PM
  5. Replies: 2
    Last Post: 07-23-2009, 05:33 PM

Tags for this Thread

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