Home> Common Problem> body text

How to print only specific parts of an Excel document

WBOY
Release: 2023-05-04 15:07:06
forward
2179 people have browsed it

In many cases, you may have a huge Excel file, but a specific part of that Excel file may be important to you. In this case, printing the entire Excel document is a waste of time, resources, and effort. Additionally, if you print all the data, the recipient may be confused about the actual data to focus on. Obviously, if you had some way to print only a specific part of an Excel document on a single page, that would simplify your life to a great extent. Also, if you had the option to print multiple sections of Excel on multiple pages, I'm sure that would be an idea that would be warmly welcomed as well.

In this article, we will explain how to easily print one or more parts of Excel in single or multiple pages according to your requirements, but obviously not the entire document. So let’s dive into this article, shall we?

Example Scenario

We have an Excel document with data that spans more than one page.

如何仅打印 Excel 文档的特定部分

Now, if you press theCTRL Pkeys simultaneously, thePrintsettings page will open and it will offer you to print Preview informs you that all 7 pages of the document will be printed, and you only need a portion of the data to print. Let’s see how we can easily solve this problem.

如何仅打印 Excel 文档的特定部分

Part 1: How to Set the Print Area and Print Only Specific Parts of the Document

Step 1: FirstSelectThe data part to be printed.

After selecting the data, click thePAGE LAYOUT tab at the top.

Now, click on the drop-down menu namedPrint Area. From the available options, click the option that saysSet the print area.

如何仅打印 Excel 文档的特定部分

Step 2: If you look at Excel, you can see that the data you selected is nowcontained within a small box. This is the print area.

如何仅打印 Excel 文档的特定部分

Step 3: Now, if you press theCTRL Pkeys simultaneously, in the print preview, you can see Only the data within the preset printing area will be printed. That’s all.

如何仅打印 Excel 文档的特定部分

Section 2: How to extend the print area and print on the same page

Assuming you set the print area and everything is perfect. Suddenly you realize you have to add more data. The best part is that the new data is next to the original data. So you want the new data to be printed on the same page as the old data. We can accomplish this with 2 different solutions.

2.1: Expand the print area using Name Manager

Step 1: Click theFormulastab in the tab ribbon. Now click on theName Managerbutton in the section namedFunction Library.

如何仅打印 Excel 文档的特定部分

Step 2: In the Name Manager window you will be able to view the print area created in Section 1. ClickPrint_Areaand then click theEdit button at the top.

如何仅打印 Excel 文档的特定部分

Step 3: Now click on CellCellSelecton the Reference field "icon.

如何仅打印 Excel 文档的特定部分

Step 4: You will be able to view the original print area in this step. This is the print area you want to extend.

如何仅打印 Excel 文档的特定部分

Step 5: You candrag and selectthe new area you want to merge with the old print area. Butremember to keep the old print area within theselected line range as well.

After adding the new print area to the original print area, click thecell selection icon again.

如何仅打印 Excel 文档的特定部分

Step 6: You will now be returned to the "Edit Name"window. Click theOKbutton to continue.

如何仅打印 Excel 文档的特定部分

Step 7: Now, if you press theCTRL Pkeys simultaneously to open the print settings page, you will be able to see your print The range has been modified and the new line range has been successfully added to your print preview and is ready to print.

如何仅打印 Excel 文档的特定部分

2.2: Extend the print area using page layout settings

Simplyselect the new area to be added to the original print area. After selecting the new area, click thePage Layouttab in the top ribbon. Now click on thePrint Areadrop-down menu and click on theAdd to Print Areaoption.

That’s all. You can now view a print preview by pressing the

CTRL Pkeys simultaneously. The new area will be successfully added to the print preview.

Note: Please make surethat the new printing area is adjacent to the original printing area. Also, make sure the data has the same dimensions as the original print area. That is, for example, the number of columns in both print areas should be the same. If theseconditionsare not met, the new print areawill not be considered an extension of theold print area, and the 2 print areas will be printed on 2 different pages.

如何仅打印 Excel 文档的特定部分

Section 3: How to add a new print area and print on different pages

As mentioned in the previous section, you can set the print area, you can Expand them and print them. But the above section focuses on printing continuous data. What if you have to print data that are not adjacent and have different dimensions? Is it possible to print 2 different print areas? Well, quite possibly. But keep in mind that if the data are not adjacent, then if you try to print them, they will print on different pages rather than on the same page.

Step 1:First,select your newdata set. This data can be located anywhere in the document, with any number of columns.

After selecting the data, click the

PAGE LAYOUT tab at the top.

Click the drop-down menu named "Print Area" and then click the "Add to Print Area" option.

如何仅打印 Excel 文档的特定部分

Step 2: That’s it. If you press theCTRL Pkeys simultaneously, you can see that the 2 print areas are now on 2 different pages and they are ready to print.

如何仅打印 Excel 文档的特定部分

Section 4: How to clear all print areas

Now let’s say you want to get rid of all the print areas you set and want to print the entire document. In this case, you need to clear any print areas you created. To do this, just click on the

PAGE LAYOUT tab at the top as usual.Click thePrint Areadrop-down menu and click theClear Print Areaoption.

That’s all. All your print areas are now cleared and you are now free to print the entire document without the print area causing any trouble. enjoy!

如何仅打印 Excel 文档的特定部分

The above is the detailed content of How to print only specific parts of an Excel document. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!