Autohotkey execl操作视频教程1-连接execl
文中代码:
#SingleInstance,, Force Browser_Forward::Reload Browser_Back:: try XL := ComObjActive("Excel.Application") ;handle to running application Catch { MsgBox % "no existing Excl ojbect: Need to create one" XL := ComObjCreate("Excel.Application") XL.Visible := 1 ;1=Visible/Default 0=hidden } XL.Visible := 1 ;1=Visible/Default 0=hidden MsgBox % "is an object? " IsObject(XL)
需求不大