Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

merge cells in mshflexgrid

Status
Not open for further replies.

prettitoni

Programmer
Apr 22, 2004
74
US
Hi all. I would like to merge the headers of my grid (I use two rows as the header). I have set it to .MergeRow(0) = True and .MergeRow(1) = True and set all my MergeCols to True also. The problem is, I just want the headers merged, not the rest of the grid, but it is merging all of the grid. Is there a way to turn off the merge or something? I thought specifying which rows to merge would do it but it doesn't...
 
I know it sounds daft, but the only way you will see the merge is if you put the same text etx in each of the cells. Are you doing that, or just expecting it to merge on one. Only a thought.
 
I know that. What I want is only the first two rows to be merged. My grid header is made up of two rows and I need some of them merged together to look right. But I do now want the rest of the grid to merge if the cell contents are the same.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top