String clicked_pos,col,format Long il_pos clicked_pos = dwo.Name //取点击的对象 il_pos = Pos(clicked_pos,'_t') //对于列标题, 取得的对象是列名+”_t” If il_pos >0 Then col = Left(clicked_pos,il_pos -1) If col=div_col Then If click_time=0 Then click_time = 1 format = col+" A" Else click_time=0 format = col+" D" End If Else click_time = 0 format = col+" A" End If div_col = col dw_1.SetSort(format) dw_1.Sort() End If