java 合并和拆分单元格

You can easily merge and split cells in Microsoft Word to make your tables more interesting and more suited to the data you are trying to share. When you merge two or more cells, you are bringing them together in one cell. When you split a cell, you are dividing it from one cell into multiple cells.

您可以轻松地在Microsoft Word中合并和拆分单元格,以使表更有趣并且更适合您尝试共享的数据。 合并两个或更多单元格时,就是将它们合并到一个单元格中。 拆分一个单元格时,就是将其从一个单元格分为多个单元格。

You can merge and split tables on the individual cell level, as well as on the larger, table-wide level. In this article, I’ll show you how to merge and split table cells and tables in Word.

您可以在单个单元格级别以及更大的表范围级别上合并和拆分表。 在本文中,我将向您展示如何在Word中合并和拆分表格单元格和表格。

如何合并单词表中的单元格 (How to Merge Cells in a Word Table)

Merging cells in a table combines two or more adjacent cells of the same size into one larger cell.

合并表格中的单元格会将两个或多个相同大小的相邻单元格合并为一个较大的单元格。

First, select the cells you want to merge. They can be adjacent cells in a row or column.

首先,选择要合并的单元格。 它们可以是行或列中的相邻单元格。

Or they can be adjacent cells that span multiple rows and columns.

或者它们可以是跨越多个行列的相邻单元格。

When you have your cells selected, right-click any of the selected cells, and then choose the “Merge Cells” command on the context menu.

选定单元格后,右键单击任何选定的单元格,然后在上下文菜单上选择“合并单元格”命令。

If you prefer using Word’s menus, you can also head to the Table Tools “Layout” tab, and then click the “Merge Cells” button there.

如果您喜欢使用Word的菜单,也可以转到“表格工具”的“布局”选项卡,然后单击那里的“合并单元格”按钮。

Either way, your cells are now merged.

无论哪种方式,您的单元格现在都已合并。

如何在单词表中拆分单元格 (How to Split Cells In A Word Table)

Splitting table cells in Word is only slightly more complicated than merging them. You can use the split command to one or more cells into a set number of rows and columns. Here’s how it works.

在Word中拆分表单元格仅比合并它们稍微复杂些。 您可以使用split命令将一个或多个单元格划分为一定数量的行和列。 运作方式如下。

Let’s first say that we just one to split a single cell into two cells. First select the cell you want to split.

首先说一下,我们只是将一个单元格拆分为两个单元格。 首先选择要拆分的单元格。

Then, right-click the selected cell and choose the “Split Cells” command from the context menu. (You can also head to Table Tools > Layout > Split Cells on the Word Ribbon if you prefer.)

然后,右键单击选定的单元格,然后从上下文菜单中选择“拆分单元格”命令。 (如果愿意,也可以转到Word功能区上的“表格工具”>“布局”>“拆分单元格”。)

This opens the Split Cells window. By default, it’s set up to split the selected cell(s) into two columns, which is exactly what we want. You can just go ahead and click the “OK” button to make the split. Input the number of rows and columns you would like to split your cell into.

这将打开“拆分单元格”窗口。 默认情况下,它设置为将选定的单元格分为两列,这正是我们想要的。 您可以继续并单击“确定”按钮进行拆分。 输入您要拆分单元格的行数和列数。

And that cell we selected is now two cells.

现在我们选择的那个单元是两个单元。

As you probably guessed from the options in that Split Cells window, you can also get a little more complex with cell splitting. Let’s say we had a table like the one shown below. And we want to take those selected cells (the ones in gray under the second column header) and turn them into two big rows of three columns each.

正如您可能从“拆分单元格”窗口中的选项中猜到的那样,单元格拆分也会使您变得更加复杂。 假设我们有一个如下表所示的表。 然后,我们要选择那些选定的单元格(第二列标题下的灰色单元格),并将它们变成两行,每行三列。

We’d head to Table Tools > Layout > Split Cells (a lot of times the Split Cells command doesn’t show up on the context menu when you have multiple cells selected, so it’s easier to use the Ribbon button). In the Split Cells window, we’d select three columns and two rows. We also want those cells merged before being split, so make sure that option is selected.

我们将转到“表工具”>“布局”>“拆分单元格”(很多情况下,当您选择多个单元格时,“拆分单元格”命令通常不会显示在上下文菜单上,因此使用“功能区”按钮更容易)。 在“拆分单元格”窗口中,我们将选择三列和两行。 我们还希望在拆分之前合并这些单元格,因此请确保已选择该选项。

When we hit “OK” the table turns out just like you’d expect.

当我们单击“ OK”(确定)时,表格的显示与您期望的一样。

And obviously, this is just a quick look. You can get just about as complicated with your table layout as you’d want.

显然,这只是快速浏览。 您可以根据需要使表格布局变得几乎复杂。

如何在Word中拆分表 (How to Split a Table in Word)

You can split an entire table in Word. This can be useful for splitting long tables into two separate tables—mostly in hopes of dealing with formatting issues that multi-page tables can sometimes cause.

您可以在Word中拆分整个表。 这对于将长表分成两个单独的表很有用-主要是希望解决有时可能导致多页表的格式问题。

First, click to place your insertion point in the cell where you would like your table split to begin. The cell that contains the insertion point will become the top row of the second table.

首先,单击以将插入点放置在您希望表拆分开始的单元格中。 包含插入点的单元格将成为第二个表的第一行。

Head to Table Tools > Layout, and then click the “Split Table” button.

转到表格工具>布局,然后单击“分割表格”按钮。

Your table is now split into two tables.

您的表现在分为两个表。

如何在Word中合并表格 (How to Merge a Table in Word)

And as you might expect, you can also merge tables together. There’s no button on the menu for this one, though. You have to do it by dragging and dropping.

如您所料,您还可以将表合并在一起。 但是,菜单上没有该按钮。 您必须通过拖放来完成。

Hover your pointer over the table you would like to merge until the table’s handle (the plus sign) appears at its top left corner. You can click and drag the table using that handle.

将指针悬停在要合并的表格上,直到表格的句柄(加号)出现在表格的左上角。 您可以使用该手柄单击并拖动表格。

Drag the table until its top row aligns with the bottom row of the table you’re merging into.

拖动表格,直到其上一行与您要合并的表格的下一行对齐为止。

When you release your mouse button, Word merges the two tables.

当您释放鼠标按钮时,Word将合并两个表。

Now you know how to easily merge and split tables and table cells in Microsoft Word. Of course, like with any other Word feature, this one takes some playing with. Especially if you’re doing complex merges and splits (or merging together long tables), formatting can sometimes get a little weird.

现在您知道了如何轻松地在Microsoft Word中合并和拆分表和表格单元格。 当然,与任何其他Word功能一样,该功能也需要一些使用。 特别是如果您要进行复杂的合并和拆分(或合并长表),格式化有时会变得有些奇怪。

翻译自: https://www.howtogeek.com/358348/how-to-merge-and-split-table-cells-and-tables-in-word/

java 合并和拆分单元格

java 合并和拆分单元格_如何在Microsoft Word中合并和拆分表和单元格相关推荐

  1. 超链接禁用_如何在Microsoft Word中禁用超链接

    超链接禁用 When you type a web or email address in Word, you may notice that the program automatically fo ...

  2. 微软文本检索_如何在Microsoft Word中引用其他文档中的文本

    微软文本检索 You probably have some text that you type often in your Word documents, such as addresses. In ...

  3. word 图片导入不翻转_如何在Microsoft Word中翻转图片

    word 图片导入不翻转 While Microsoft Word isn't known for its photo-editing abilities, it does have some bas ...

  4. 微软word如何插入页码_如何在Microsoft Word中插入,删除和管理超链接

    微软word如何插入页码 Adding hyperlinks to your Word document is an easy way to give your readers quick acces ...

  5. ios 行间距和段落间距_如何在Microsoft Word中控制行间距和段落间距

    ios 行间距和段落间距 There are lots of reasons you might want to change the amount of space between lines in ...

  6. word标尺灰色_如何在Microsoft Word中使用标尺

    word标尺灰色 Word's rulers let you control the margins of your page and the indentation of paragraphs. T ...

  7. 微软word如何插入页码_如何在Microsoft Word中使用页码

    微软word如何插入页码 Microsoft Word offers an easy way to add different styles of page numbers to your docum ...

  8. word标尺灰色_如何在Microsoft Word中显示和隐藏标尺

    word标尺灰色 Rulers in Word help you position text, graphics, tables, and other elements in your documen ...

  9. word标尺灰色_如何在Microsoft Word中更改标尺测量单位

    word标尺灰色 In Word, you can select one of several units of measurement for the ruler. This is useful w ...

最新文章

  1. 拆解交易系统--性能优化,安全加固与弹性扩缩容
  2. [Security]XSS一直是个棘手的问题
  3. UVA11549计算器谜题
  4. python自动化_Python自动化测试入门必读
  5. python编写格斗游戏_Python文字小游戏:搏击比赛
  6. 一天干掉一只Monkey计划(二)——热流扰动,径向模糊
  7. thinkPHP仿QQ飞车手游模拟抽奖源码
  8. MySQL---数据库切分
  9. vant 项目_基于 vue3.x+vant3.x 搭建示例项目
  10. C#为null或Empty
  11. python文本编辑器下载_海龟编辑器官方下载|海龟编辑器(Python编辑器)下载 v1.3.4 官方版 - 绿点软件站...
  12. ASP.NET MVC 小小总结
  13. 华为那道上机题 用?来区隔一句话的输入。
  14. POI Excel 13 添加图片
  15. 学业奖惩系统c语言,c语言成绩管理系统(完整).doc
  16. USB 公,母头接口
  17. Excel批量对比工具分享
  18. opencv 叠加文字_利用opencv为视频添加动态字幕
  19. ubuntu设置桌面和锁屏背景
  20. DSP TMS320C6657中FFT函数的调用与具体使用方法

热门文章

  1. learn more study less:如何高效学习
  2. java基础(家庭收支记账软件)
  3. 两根香怎么测15分钟?
  4. OpenSSL 常用命令
  5. 第3章 OpenWrt应用层ipk编写及编译
  6. Flutter中各种对话框的使用
  7. iphlpapi.h下载
  8. 如何选择靠谱的网站建设服务商来建设企业官网?
  9. css3太极图效果+自动旋转
  10. 离散数学——集合论(一)