我正打算在打開的工作簿中調用第5張表。當我打開從程序工作簿我似乎能夠做到這一點: Dim CurrentRun As New Excel.Application
Dim CurrentBook As Excel.Workbook
Dim CurrentSheet As Excel.Worksheet
Private Sub GeneralButtonOpener_Click(sender
爲Excel工作表的InsertRow確定行索引後,我想在使用VB.net之後插入16行。如果改變了任何東西,我正在構建一個COM加載項。在VBA中,我會這樣做: ...
Dim InsertRow as String
...
Dim ContractForm As Worksheet
Set ContractForm = Sheets("Lab Contracts")
Cont