+ Reply to Thread
Results 1 to 10 of 10

Filter, Copy, Paste and Delete

  1. #1
    Forum Contributor
    Join Date
    04-23-2013
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    227

    Filter, Copy, Paste and Delete

    Please help me with this.

    In the "Main" sheet,

    1. I just want to filter Column L with "Chaser, Exceptions, Adhoc" and then
    2. Copy Column A and B of the filtered cells to the last row of it and paste it to Adhoc sheet in the last Column A and B.
    3. Back to Main Sheet, Copy Column F:AB of the filtered cells and paste it to Adhoc Sheet in the last row of Column C.
    4. Back to Main Sheet again, DELETE the filtered cells, only the filtered cells should be deleted.

    ** Output should be like in the Final Sheet.


    I've attached the file.
    Thanks in advance
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: Filter, Copy, Paste and Delete

    if you want to do it manually then i have very great idea for you.

    if you want to do it with vba then tell me first.


    Regards
    CA Mahaveer Somani
    9785216211

  3. #3
    Forum Contributor
    Join Date
    04-23-2013
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    227

    Re: Filter, Copy, Paste and Delete

    Hi Mahaveer,

    i just want it make in VBA.

  4. #4
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: Filter, Copy, Paste and Delete

    Please Open the attached workbook and press CTRL+SHIFT+T and get your answer.

    i know it is not perfect macro to you... but do you like something like this............ For your perfect macro need i need some time to complete this......

    If it was really helpful to you then dont forget to hit * button for user reputation...

    Regards
    CA Mahaveer Somani
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    04-23-2013
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    227

    Re: Filter, Copy, Paste and Delete

    Hi mahaveer,

    Thanks, but it overwrite the data in Adhoc Sheet, i just want it to 'add' the data only. Also, if its okay, maybe there were some shorter code to do that.

  6. #6
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: Filter, Copy, Paste and Delete

    yes there is overwrite problem will happen in your actual data sheet.. therefore i told you this is not perfect yet...so i need some time to do it for you..

    and i will see if there is any other shorter method to do it......


    Regards
    CA Mahaveer Somani

  7. #7
    Forum Contributor
    Join Date
    04-23-2013
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    227

    Re: Filter, Copy, Paste and Delete

    No problem Mahaveer, I'll wait for your next code.

  8. #8
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Filter, Copy, Paste and Delete

    Is not the same thread as this one?

    http://www.excelforum.com/excel-prog...and-paste.html
    The only change is the poster has logged-in in a different name.

  9. #9
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: Filter, Copy, Paste and Delete

    check the attached file i hope this is really wonderful to you and pefect too....


    If it was really helpful to you then dont forget to hit * button for user reputation.

    Further if you have any query then feel free to ask.

    Regards
    CA Mahaveer Somani
    9785216211
    Attached Files Attached Files

  10. #10
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: Filter, Copy, Paste and Delete

    press CTRL+SHIFT+T for use the code.

+ 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. Filter only records containing 'x', copy, paste in new sheet, and then delete. Please help
    By jamieswift1977 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2013, 05:27 AM
  2. VBA to filter copy and paste
    By VKS in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-14-2013, 05:34 AM
  3. Filter,Copy and Paste VBA
    By Rompetelo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-24-2012, 10:57 AM
  4. Filter-Copy Paste-Save sheet-Delete info
    By srikanthbenoni in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-28-2012, 06:08 AM
  5. [SOLVED] Need macro to filter, create tab on filter and copy/paste
    By Jen in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-02-2006, 11:50 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