VSFlexGrid怎样合并空白的单元格?
如题。
[解决办法]
空白单元都在一起吗?用MergeCells便可实现
[解决办法]
' restricted merging: notice how the first region cell (East)
' no longer merges across employees to its left.
fg.MergeCells = flexMergeRestrictAll
fg.MergeCol(0) = True: fg.MergeCol(1) = True: fg.MergeCol(2) = True
fg.MergeCol(3) = False
[解决办法]
ex:
MergeCells(1,1,1,2)
其中 1,1是第一个单元格的坐标
1,2是第二个单元格的坐标
[解决办法]
一次只可以合并两个相邻的单元格
[解决办法]
合并好像要有内容才能合并的,可以这样:
with VSFlexgrid1
.Cell(flexcpText, 0, 0, 0, 3) = " "
.MergeCells = flexMergeRestrictAll
.MergeRow(0) = True
end with