Thread
: [Solved]
Macro for merging cells in a word table
View Single Post
04-28-2020, 09:28 PM
macropod
Windows 7 64bit
Office 2010 32bit
Administrator
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
That's as simple as seleting the cells to merge, then using:
Code:
Sub Demo() Selection.Cells.Merge End Sub
It hardly seems worth the effort, though, as the same functionality is readily available on the Table Tools contextual Ribbon.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
macropod
View Public Profile
Find all posts by macropod