+ Reply to Thread
Results 1 to 22 of 22

Copy Specific Columns from a Filtered Range

Hybrid View

  1. #1
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Copy Specific Columns from a Filtered Range

    Hi Arkadi / K64,

    Both codes work fine, Arkadi's code check all rows one by one, uses If conditions & copies them to appropriate sheets, whereas K64's code looks more simple & short and gets the work done through AutoFilter.

    @K64 :

    I've never used the Intersect function before, but wonder how it works. Can you brief me about it ?
    If my assistance has helped, there is a reputation icon * on the left hand corner below the post - you can show your appreciation to the user who has helped in resolving your requirement.

    If your requirement has been solved please mark your thread as Solved.
    In the menu bar above the very first post, select Thread Tools, then select "Mark this thread as Solved".

    Kindly use [FORMULA] or [CODE] tags when posting your code.

    Regards,
    Sarang

  2. #2
    Valued Forum Contributor
    Join Date
    08-06-2013
    Location
    Detroit, Michigan
    MS-Off Ver
    Excel 2013
    Posts
    671
    Quote Originally Posted by Saarang84 View Post
    Hi Arkadi / K64,

    Both codes work fine, Arkadi's code check all rows one by one, uses If conditions & copies them to appropriate sheets, whereas K64's code looks more simple & short and gets the work done through AutoFilter.

    @K64 :

    I've never used the Intersect function before, but wonder how it works. Can you brief me about it ?
    Intersect returns a range composed of only those cells in common between the intersected ranges. So intersect(range("A:A"), range("1:1")) = range("A1")
    1. Include a sample workbook with an example of the result you want
    2. Use [CODE] and [FORMULA] wrappers for your VBA code or excel formulas
    3. If your question has been answered, mark the thread as SOLVED and click on the "Add Rep" star to thank whoever helped you.

+ 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 a specific row and a range of columns to next available row on another worksheet
    By monkey1184 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-29-2013, 05:02 PM
  2. How to copy specific rows of filtered data using VB
    By Menaka in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-01-2013, 01:46 PM
  3. Replies: 8
    Last Post: 04-04-2013, 08:02 PM
  4. copy specific range of rows and columns according to a cell value
    By archangel9999 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-26-2013, 03:41 PM
  5. How to copy a range of columns from sheet1 to sheet2 if the cell show a specific text
    By chermaine123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2011, 02:39 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