EXCEL 调用C#类方法

时间:2022-01-27 06:28:01
【文件属性】:

文件名称:EXCEL 调用C#类方法

文件大小:193KB

文件格式:RAR

更新时间:2022-01-27 06:28:01

excel

Private Sub CommandButton1_Click() Dim addIn As COMAddIn Dim automationObject As Object Set addIn = Application.COMAddIns("ExcelImportData") Set automationObject = addIn.Object automationObject.ImportData End Sub Private Sub CommandButton2_Click() Dim addIn As COMAddIn Dim automationObject As Object Set addIn = Application.COMAddIns("ExcelImportData") Set automationObject = addIn.Object automationObject.showform End Sub


【文件预览】:
ExcelImportData
----.vs()
--------ExcelImportData()
----ExcelImportData.sln(1012B)
----ExcelImportData()
--------NewForm.resx(6KB)
--------bin()
--------ThisAddIn.Designer.xml(1KB)
--------NewForm.Designer.cs(3KB)
--------obj()
--------ExcelImportData_TemporaryKey.pfx(2KB)
--------AddInUtilities.cs(1KB)
--------ThisAddIn.Designer.cs(11KB)
--------NewForm.cs(400B)
--------ThisAddIn.cs(1KB)
--------ExcelImportData.csproj(11KB)
--------Properties()
----UpgradeLog.htm(28KB)

网友评论