大师:请问通过下面的代码合并单元格后,如何让此合并单元格可以编辑?
Dim tb As Table = Tables("表B")
Dim a As Integer = tb.TopRow + 2
Dim b As Integer = tb.LeftCol + 1
Dim c As Integer = tb.BottomRow + 1
Dim d As Integer = tb.RightCol + 1
tb.Grid.AllowMerging = C1.Win.C1FlexGrid.AllowMergingEnum.Custom
Dim rng As C1.Win.C1FlexGrid.CellRange = tb.Grid.GetCellRange(a, b, c, d)
tb.Grid.MergedRanges.Add(rng)