转自 http://blog.csdn.net/xueshijun666/article/details/18151055 // var ret = $("#in_store_list_details_grid_table").getChangedCells('dirty'); // Returns the changed cells. // var ret = $("#in_store_list_details_grid_table").getChangedCel
-> step 1:新建宏,进入编辑,使用如下代码: Sub Ss()Dim c As RangeFor Each c In ActiveSheet.UsedRange i = 1 While InStr(i, c, "木木", 0) > 0 i0 = InStr(i, c, "木木", 0) If i0 > 0 Then c.Characters(i0, 2).Font.Color = vbRed: i = i0 + 2 Wend NextEnd