Microsoft KB Archive/105817: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - ">" to ">")
 
(2 intermediate revisions by the same user not shown)
Line 22: Line 22:
In Microsoft Excel, you can enter a defined name in the Print Area and Print Titles boxes in the Page Setup dialog box (from the File menu, choose Page Setup). When you do this, Microsoft Excel will remove the name and replace it with its absolute definition when you close the Page Setup dialog box.
In Microsoft Excel, you can enter a defined name in the Print Area and Print Titles boxes in the Page Setup dialog box (from the File menu, choose Page Setup). When you do this, Microsoft Excel will remove the name and replace it with its absolute definition when you close the Page Setup dialog box.


The only way to create a "dynamic" print area or print titles is to define the names <Sheetname>!Print_Area and <Sheetname>!Print_Titles on the worksheet, where <Sheetname> is the name of the worksheet. Microsoft Excel will automatically use these names in the Page Setup dialog box.
The only way to create a "dynamic" print area or print titles is to define the names <Sheetname>!Print_Area and <Sheetname>!Print_Titles on the worksheet, where <Sheetname> is the name of the worksheet. Microsoft Excel will automatically use these names in the Page Setup dialog box.


This is by design.
This is by design.
Line 32: Line 32:
# In a new worksheet, select columns A, B, and C.
# In a new worksheet, select columns A, B, and C.
# From the Insert menu, choose Name, and then choose Define.
# From the Insert menu, choose Name, and then choose Define.
# In the Names In Workbook box, type &quot;TestTitles&quot; (without the quotation marks) and choose OK.
# In the Names In Workbook box, type "TestTitles" (without the quotation marks) and choose OK.
# Select cells D1:K10.
# Select cells D1:K10.
# From the Insert menu, choose Name, and then choose Define.
# From the Insert menu, choose Name, and then choose Define.
# In the Names In Workbook box, type &quot;TestArea&quot; and choose OK.
# In the Names In Workbook box, type "TestArea" and choose OK.
# From the File menu, choose Page Setup.
# From the File menu, choose Page Setup.
# Select the Sheet tab.
# Select the Sheet tab.
# In the Print Area box, type &quot;TestArea&quot; (without the quotation marks). In the Columns To Repeat At Left box, type &quot;TestTitles&quot; and choose OK.
# In the Print Area box, type "TestArea" (without the quotation marks). In the Columns To Repeat At Left box, type "TestTitles" and choose OK.
# From the File menu, choose Page Setup.
# From the File menu, choose Page Setup.


The Print Area box will now contain the reference $D$1:$K$10 and the Columns To Repeat At Left box will now contain $A:$C. When you exit Page Setup, Microsoft Excel replaces the names with their absolute definitions.
The Print Area box will now contain the reference $D$1:$K$10 and the Columns To Repeat At Left box will now contain $A:$C. When you exit Page Setup, Microsoft Excel replaces the names with their absolute definitions.


Note that if &lt;Sheetname&gt;!Print_Area and &lt;Sheetname&gt;!Print_Titles have been defined they will be used automatically.
Note that if <Sheetname>!Print_Area and <Sheetname>!Print_Titles have been defined they will be used automatically.


{|
{|
Line 59: Line 59:
<br />
<br />
<br />
<br />
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED &quot;AS IS&quot; WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
</blockquote>
</blockquote>
<span>Last reviewed: March 27, 1997</span><br />
<span>Last reviewed: March 27, 1997</span><br />
[[../cpyright|©1997 Microsoft Corporation. All rights reserved. Legal Notices]].<br />
[[../cpyright|©1997 Microsoft Corporation. All rights reserved. Legal Notices]].<br />
|}
|}

Latest revision as of 16:49, 20 July 2020

Microsoft Knowledge Base

XL: Defined Names for Print Area or Titles May Not Be Dynamic

Last reviewed: March 27, 1997
Article ID: Q105817

5.00 5.00c 7.00 | 5.00 5.00a

WINDOWS         | MACINTOSH

kbprint

The information in this article applies to:

  • Microsoft Excel for Windows, versions 5.0, 5.0c
  • Microsoft Excel for the Macintosh, versions 5.0, 5.0a
  • Microsoft Excel for Windows NT, version 5.0
  • Microsoft Excel for Windows 95, version 7.0

SUMMARY

In Microsoft Excel, you can enter a defined name in the Print Area and Print Titles boxes in the Page Setup dialog box (from the File menu, choose Page Setup). When you do this, Microsoft Excel will remove the name and replace it with its absolute definition when you close the Page Setup dialog box.

The only way to create a "dynamic" print area or print titles is to define the names <Sheetname>!Print_Area and <Sheetname>!Print_Titles on the worksheet, where <Sheetname> is the name of the worksheet. Microsoft Excel will automatically use these names in the Page Setup dialog box.

This is by design.

MORE INFORMATION

Steps to Reproduce Behavior

  1. In a new worksheet, select columns A, B, and C.
  2. From the Insert menu, choose Name, and then choose Define.
  3. In the Names In Workbook box, type "TestTitles" (without the quotation marks) and choose OK.
  4. Select cells D1:K10.
  5. From the Insert menu, choose Name, and then choose Define.
  6. In the Names In Workbook box, type "TestArea" and choose OK.
  7. From the File menu, choose Page Setup.
  8. Select the Sheet tab.
  9. In the Print Area box, type "TestArea" (without the quotation marks). In the Columns To Repeat At Left box, type "TestTitles" and choose OK.
  10. From the File menu, choose Page Setup.

The Print Area box will now contain the reference $D$1:$K$10 and the Columns To Repeat At Left box will now contain $A:$C. When you exit Page Setup, Microsoft Excel replaces the names with their absolute definitions.

Note that if <Sheetname>!Print_Area and <Sheetname>!Print_Titles have been defined they will be used automatically.


KBCategory: kbprint

KBSubcategory:

Additional reference words: 7.00 5.00 rows top
Keywords : kbprint
Version : 5.00 5.00c 7.00 | 5.00 5.00a
Platform : MACINTOSH WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 27, 1997
©1997 Microsoft Corporation. All rights reserved. Legal Notices.