用按键精灵认别EXCEL表格中选中的单元格是否有数值,有的加个括号,没...答://大概这样,不知道是否你要的 Call Plugin.Office.OpenXls("C:\测试.xls")T= Plugin.Office.ReadXls(1, 1, 1)If t>=0 Then Call Plugin.Office.WriteXls(1, 1, 1, "("&t&")")Else Call Plugin.Office.WriteXls(1, 1, 1, "IBM")End If Call Plugin.Office.CloseXls()...