+ Reply to Thread
Results 1 to 7 of 7

How to copy only visible rows

  1. #1
    Forum Contributor
    Join Date
    07-06-2008
    Location
    NC
    Posts
    149

    How to copy only visible rows

    I have a spreadsheet that has hidden rows, I want to somehow either delete the unvisible rows or to be able to copy the visible rows to another sheet???
    Last edited by JK1234; 03-07-2009 at 09:18 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    08-31-2007
    Location
    SW Ireland
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2311 Build 16.0.17029.20068) 32-bit
    Posts
    540

    Re: How to copy only visible rows

    To make hidden rows unhidden: click on the row numbers above and below the hidden row; right click and choose Unhide from the popup menu

    To copy a row's contents to another sheet: right click on the row number, select Copy from the popup menu then go to your new sheet, right click choose Paste.
    Excel 365 user. To unblock a downloaded macro-enabled workbook, go to your "Downloads" folder > right click on the workbook name > click 'Properties' > check the 'Unblock' checkbox. You can now open the workbook.

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How to copy only visible rows

    Highlight the data you want to copy.
    Press F5 and click SPECIAL
    Click on [x] Visible cells only
    Click OK
    Press CTRL-C to copy
    Switch to other sheet and select target location, press ENTER

    Only the visible data will copy over.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Contributor
    Join Date
    07-06-2008
    Location
    NC
    Posts
    149

    Re: How to copy only visible rows

    Thank you!!!

    Works

  5. #5
    Valued Forum Contributor
    Join Date
    08-31-2007
    Location
    SW Ireland
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2311 Build 16.0.17029.20068) 32-bit
    Posts
    540

    Re: How to copy only visible rows

    Thanks from me, too, JBeaucaire- that's a useful dialog box I never knew existed!

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to copy only visible rows

    its even easier if you stick the select visible cells icon on the tool bar!
    customise/commands/edit scroll to bottom and drag the select visible cells button onto any toolbar
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  7. #7
    Valued Forum Contributor
    Join Date
    08-31-2007
    Location
    SW Ireland
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2311 Build 16.0.17029.20068) 32-bit
    Posts
    540

    Re: How to copy only visible rows

    Yep- that would have solved the particular problem outlined by the original poster. {Note to self: Explore toolbar customisation possibilities in more detail...}

    I am delighted to have found out about the dialog box as it allows for many additional possibilities.

+ 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