按键精灵里的插件命令: //定义变量// dim a,text Call Plugin.Office.OpenXls(C:\AA.xls) a = 1 x = 1 y = 2 //读取表格,括号内第2个是行,第3个是列// Text = Plugin.Office.ReadXls(1, a, 1) a = a + 1 //写入指定位置// Call Plugin.Office.WriteXls(2, x, 1, text) x = x + 1 Call Plugin.Office.WriteXls(2, y, 1, text) y = y + 1