+ Reply to Thread
Results 1 to 6 of 6

Filter data to another worksheet with 1 criterion

  1. #1
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Filter data to another worksheet with 1 criterion

    Hi...

    I have two worksheets.
    I need to copy the data from column 'A' to 'F' worksheet called "FIN" to the worksheet called 'Rlt_Pendencia' case in column 'F' worksheet called "FIN", has cells equals "In debito"

    Please Login or Register  to view this content.
    Thank you!!!
    Last edited by marreco; 09-08-2012 at 11:14 AM.
    "No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  2. #2
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Filter data to another worksheet with 1 criterion

    Hi.

    Any idea?

    Thank you!!!

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Filter data to another worksheet with 1 criterion

    Hi, marreco,

    you donīt give order what is to be copied in the code-sniplet. Please try it like this:

    Please Login or Register  to view this content.
    Ciao,
    Holger

  4. #4
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Filter data to another worksheet with 1 criterion

    Hi.

    was great!!
    how do I remove the filter (called the planiliha ("FIN")), after running the macro?

    thank you!

  5. #5
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Filter data to another worksheet with 1 criterion

    Hi, marecco,

    as you do not leave the sheet within this sniplet please add this line at the end (just before End Sub):
    Please Login or Register  to view this content.
    If you have switched to another worksheet, please fully qualify the Sheet Name and the range before you use Autofilter to switch it off. I would recommend you check in advance if any filter is active:

    Please Login or Register  to view this content.
    Ciao,
    Holger

  6. #6
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Filter data to another worksheet with 1 criterion

    Hi.

    Great, thank you very much!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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