python 取excel的第5行 然后每间隔十行取一行 最后输出成新的excel文件?

python 取excel的第5行 然后每间隔十行取一行 最后输出成新的excel文件

第1个回答  2019-11-23
用VBA代码
for i=5 to 1000 step 10
n=n+1
sheet2.cells(n,1)=sheet1.cells(i,1)
next本回答被网友采纳
相似回答