This VBA code will merge the cells and align them into a center similar to the first method. Hopefully, it will come in handy in the future. You can keep this method in your arsenal to develop your skills. But once you have done this, you can merge cells anywhere in your workbook. Basically, we are using Microsoft Excel’s VBA code to create a custom key. Īs you can see, you can easily unmerge any number of cells using this Excel shortcut.Ĭreate Custom Shortcut with VBA Macros to Merge and Center Cells Again, select the cell of the Computer.
First, select the range of the cell of the TV.Now, we are going to unmerge the cells of TV and Computer with the Excel shortcut. Here, to demonstrate this, we are using the previous dataset of merged cells: The shortcut we are using to merge cells: Now, if you want to merge multiple cells and want your data to align center, you can use this shortcut. Definitely, it will develop your Excel knowledge. We recommend you learn and implement all these methods in your Excel worksheet. But in the following sections, you will learn the Excel shortcut to merge cells in Excel. Now, we all know to merge cells in Excel with built-in commands. That’s why we need it.ģ Ways to Merge Cells Using Excel Shortcut Now, you can easily say, merging cells in Excel makes a great visual treat for the users. Now, you can see the result after merging the cells. And select Merge & Center from the Alignment group of the Home tab. Just select columns B, C, and D from row 2. To fix this, we can use the Merge & Center command from the quick access toolbar. In order to see in whole, we have to expand the column.Īs you can see, we extended the column but it doesn’t look good. Here, our title of the dataset is in Cell B2. But if we expand the row or column, it extends the other data also. Sometimes, our given data doesn’t fit into the cells. In Microsoft Excel, we need to merge cells to create a great visual illustration.