<?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="textscalcguidemultitablesxml" indexer="include" status="PUBLISH">
         <title id="tit">Applying Multiple Sheets</title>
         <filename>/text/scalc/guide/multitables.xhp</filename>
      </topic>
   </meta>
   <body>
<bookmark branch="index" id="bm_id3154759">
<bookmark_value>sheets; selecting multiple</bookmark_value>
<bookmark_value>appending sheets</bookmark_value>
<bookmark_value>selecting;multiple sheets</bookmark_value>
<bookmark_value>multiple sheets</bookmark_value>
<bookmark_value>calculating;multiple sheets</bookmark_value>
</bookmark><comment>MW moved "sheets;simultaneous.." to edit_multitables.xhp, transferred 2 entries from there and added "calculating;"</comment>
<h1 id="hd_id3154759"><variable id="multitables"><link href="text/scalc/guide/multitables.xhp">Applying Multiple Sheets</link></variable></h1>

<bookmark branch="hid/FID_TAB_EVENTS" id="bm_id906582498" localize="false"/><comment>Sheet Events</comment>
<paragraph id="par_id05092009140203598" role="paragraph"><ahelp hid="." visibility="hidden">Opens a dialog box where you can assign macros to sheet events.</ahelp></paragraph>

<paragraph id="par_id050920091402035" role="paragraph"><ahelp hid="." visibility="hidden">Click to select all sheets in the document.</ahelp></paragraph>
<bookmark branch="hid/.uno:TableDeselectAll" id="bm_id9065825" localize="false"/>
<paragraph id="par_id0509200914020391" role="paragraph"><ahelp hid="." visibility="hidden">Click to deselect all sheets in the document, except the current sheet.</ahelp></paragraph>

      <h2 id="hd_id3154491">Selecting Multiple Sheets</h2>
      <paragraph id="par_id3145251" role="paragraph">The sheet tab of the current sheet is always visible in white in front of the other sheet tabs. The other sheet tabs are gray when they are not selected. By clicking other sheet tabs while pressing <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> you can select multiple sheets.</paragraph>
      <paragraph id="par_idN106B7" role="paragraph">You can use Shift+<switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Page Up or Page Down to select multiple sheets using the keyboard.</paragraph>
      <h2 id="hd_id3155600">Undoing a Selection</h2>
      <paragraph id="par_id3146969" role="paragraph">To undo the selection of a sheet, click its sheet tab again while pressing the <switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key. The sheet that is currently visible cannot be removed from the selection.</paragraph>
      <h2 id="hd_id3156382">Calculating Across Multiple Sheets</h2>
      <paragraph id="par_id3155333" role="paragraph">You can refer to a range of sheets in a formula by specifying the first and last sheet of the range, for example, <item type="literal">=SUM(Sheet1.A1:Sheet3.A1) </item>sums up all A1 cells on Sheet1 through Sheet3.</paragraph>
      <section id="relatedtopics">
         <embed href="text/scalc/guide/multi_tables.xhp#multi_tables"/>
         <embed href="text/scalc/guide/edit_multitables.xhp#edit_multitables"/>
      </section>
   </body>
</helpdocument>
