需要编写datacolchanging事件,对值进行一下处理。
比如,参考
Dim str As String = "03,08,09,01,10"Dim ary() As String = str.Split(",")array.sort(ary)str = String.Join(",", ary)msgbox(str)