你为什么要在drawcell事件加上这样的代码:
Tables("学生信息").allowedit=false
Tables("学生信息").alloweaddnew=false
Tables("学生信息").allowdelete=false
去掉,drawcell事件是用来绘制单元格的。