使用MSHFlexGrid的FormatString属性可以做到一次设置行标题和列标题
Dim sTitle As String
sTitle = "<Name |<Address |<Telephone |<Social Security>"
sTitle = sTitle + ";|Robert|Jimmy|Bonzo|John Paul"
MSHFlexGrid.FormatString = sTitle
[url=http://expert.csdn.net/Expert/topic/2678/2678955.xml?temp=.9466669][/url]