+ Reply to Thread
Results 1 to 7 of 7

Copying Filtered Data

Hybrid View

  1. #1
    Registered User
    Join Date
    02-07-2007
    Posts
    11

    Copying Filtered Data

    Hi there: does everyone have the issue or is it me? When i filter data to copy and paste elsewhere, sometimes when i paste i get just the data i have filtered (ideal) and sometimes i get all the data (infuriating)..... any ideas? Thanks for your time.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You can use GoTo from the Edit Menu, click Special & select Visible Cells only
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    02-07-2007
    Posts
    11

    Copying Filtered Data

    Wahoo - thanks for that RoyUK that's fixed it....

  4. #4
    Registered User
    Join Date
    08-22-2007
    Location
    Luton, UK
    Posts
    7
    Is there a way to copy the filtered data without having to copy all of the visible cells? i.e. a certain range of data is on the left which i need to copy to a seperate workbook and on the right is conifdential info which mustn't be copied across.
    It would be simple to copy everything and delete all cells to the right of a certain point but I was just curious as to if it can be done?

    Cheers

  5. #5
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    hi ,
    try this, change filter field no and criterial to suit. the range it will copy is from a6 to j6 downwards

    chage the range to suit
    
    sub Macro1()
    Selection.AutoFilter Field:=1, Criteria1:=paul
        Range("a6:J6", ActiveCell.End(xlDown)).Select
        Selection.Sort Key1:=Range("B6"), Order1:=xlAscending, Header:=xlGuess, _
            OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
        Selection.Copy
    
    end sub
    hope this helps
    steve

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    If you highlight first only the rows or columns that you are interested in copying and then GOTO Visible Cells Only. You will only copy and paste the cells of interest.

    ChemistB

+ 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