View Single Post
 
Old 04-29-2020, 03:25 AM
dana_c_83 dana_c_83 is offline Windows 10 Office 2016
Novice
 
Join Date: Apr 2020
Posts: 2
dana_c_83 is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
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.
Good point, maybe I’m aiming too low given that I’ve never used macros before. When I merge the cells, another issue is that they don’t merge nicely. There’s often an extra space between the two cells. Is there a way to remove this? And is there a way that I can also put the number in the second cell in brackets?
Reply With Quote