问题出在DO While Not rs.EOF上你知道数据集内容结束 才能停止循环你用for来做循环 循环次数只到pagesizefor i=0 to rs.pagesize if rs.eof then exit forend if内容rs.movenextnext