按键精灵对EXCEL同时读取A列10条数据输出,在依次读取另外10条
按键精灵吧
全部回复
仅看楼主
level 7
按键精灵对EXCEL同时读取A列10条数据输出,在依次读取另外10条输出,依次往下,怎么写
2022年12月14日 04点12分 1
level 7
我不信没有专家会
2022年12月14日 11点12分 2
level 13
自己看着改吧!帮你写了你说的需求!
2022年12月14日 17点12分 3
level 13
excelReadUrl = "D:\1.xlsx"
Call Plugin.Office.OpenXls(excelReadUrl)
For 10
strN = strN + 1
readInfo1 = Plugin.Office.ReadXls(1, strN, 1)//EXCEL读取依次为 第一页 第几行 第几列
Call Plugin.Office.OpenXls(excelReadUrl)
readInfo1 = Plugin.Office.ReadXls(1, strN, 1) //EXCEL读取依次为 第一页 第几行 第几列
readInfo2 = Plugin.Office.ReadXls(1, strN, 2)
TracePrint "Excel读出内容为:A列" & readInfo1 & " B列" & readInfo2
Next
Call Plugin.Office.CloseXls() //关闭Excel文档工作表
2022年12月14日 17点12分 4
读取A列A1:A10,在读取A11::A20,依次往下
2022年12月15日 02点12分
1