<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
	
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->
 
	
<meta>
      <topic id="textscalcguidecellcopyxml" indexer="include" status="PUBLISH">
         <title id="tit">Only Copy Visible Cells</title>
         <filename>/text/scalc/guide/cellcopy.xhp</filename>
      </topic>
   </meta>
   <body>
<bookmark branch="index" id="bm_id3150440"><bookmark_value>cells; copying/deleting/formatting/moving</bookmark_value>
      <bookmark_value>rows;visible and invisible</bookmark_value>
      <bookmark_value>copying; visible cells only</bookmark_value>
      <bookmark_value>formatting;visible cells only</bookmark_value>
      <bookmark_value>moving;visible cells only</bookmark_value>
      <bookmark_value>deleting;visible cells only</bookmark_value>
      <bookmark_value>invisible cells</bookmark_value>
      <bookmark_value>filters;copying visible cells only</bookmark_value>
      <bookmark_value>hidden cells</bookmark_value>
</bookmark><comment>mw changed "cells;"</comment>
<h1 id="hd_id3150440"><variable id="cellcopy"><link href="text/scalc/guide/cellcopy.xhp">Only Copy Visible Cells</link>
</variable></h1>
      <paragraph id="par_id3148577" role="paragraph">Assume you have hidden a few rows in a cell range. Now you want to copy, delete, or format only the remaining visible rows.</paragraph>
      <paragraph id="par_id3154729" role="paragraph">$[officename] behavior depends on how the cells were made invisible, by a filter or manually.</paragraph>
      <table id="tbl_id3154942">
         <tablerow>
            <tablecell>
               <paragraph id="par_id3155603" role="tablehead">Method and Action</paragraph>
            </tablecell>
            <tablecell>
               <paragraph id="par_id3150751" role="tablehead">Result</paragraph>
            </tablecell>
         </tablerow>
         <tablerow>
            <tablecell>
               <paragraph id="par_id3149018" role="tablecontent">Cells were filtered by AutoFilters, standard filters or advanced filters.</paragraph>
               <paragraph id="par_id3150044" role="tablecontent">Copy, delete, move, or format a selection of currently visible cells.</paragraph>
            </tablecell>
            <tablecell>
               <paragraph id="par_id3146918" role="tablecontent">Only the visible cells of the selection are copied, deleted, moved, or formatted.</paragraph>
            </tablecell>
         </tablerow>
         <tablerow>
            <tablecell>
               <paragraph id="par_id3166427" role="tablecontent">Cells were hidden using the <emph>Hide</emph> command in the context menu of the row or column headers, or through an <link href="text/scalc/01/12080000.xhp">outline</link>.</paragraph>
               <paragraph id="par_id3152990" role="tablecontent">Copy, delete, move, or format a selection of currently visible cells.</paragraph>
            </tablecell>
            <tablecell>
               <paragraph id="par_id3154371" role="tablecontent">By default, all cells of the selection, including the hidden cells, are copied, deleted, moved, or formatted. Restrict the selection to visible rows choosing <menuitem>Edit - Select - Select Visible Rows Only</menuitem> or to visible columns choosing <menuitem>Edit - Select - Select Visible Columns Only</menuitem>.</paragraph>
            </tablecell>
         </tablerow>
      </table>

      <section id="relatedtopics">
         <embed href="text/scalc/guide/filters.xhp#filters"/>
         <embed href="text/scalc/guide/autofilter.xhp#autofilter"/>
         <embed href="text/scalc/guide/specialfilter.xhp#specialfilter"/>
      </section>
   </body>
</helpdocument>
