Skip to main content

cidMerge Constant

Specifies an ID of the “Merge Cells” pop-up menu item.

Declaration

const cidMerge = 14;

Remarks

This menu item is hidden only if the popup menu is invoked for a floating container. The “Unmerge Cells” item is enabled if the CanMergeSelected function of the active worksheet returns True.

This menu item merges each independent selected cell range into a merged cell. A click on the “Merge Cells” menu item has no effect if only one cell is selected or each selected cell range consists of a single cell.

Use the sdxBuiltInPopupMenuMergeCells resource string to localize the “Merge Cells” menu item.

See Also