qtp计算器脚本
读Excel文件中的计算式,调用计算器实现自动计算
【Dimaslen,t,iRowCount,iLoop,numAdd,xlApp,xlFile,xlSheet
SetxlApp=CreateObject("Excel.Application")
SetxlFile=xlApp.Workbooks.Open("c:\a.xlsx")
SetxlSheet=xlFile.Sheets("Sheet1")
iRowCount=xlSheet.usedRange.Rows.Count‘计算Sheet1中已经填写的行数
ForiLoop=
下载地址
用户评论