This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyCom : ExcelDna.Integration.CustomUI.ExcelComAddIn | |
{ | |
public MyCom() | |
{ | |
} | |
public void OnConnection(object Application, ext_ConnectMode ConnectMode, object AddInInst, ref Array custom) | |
{ | |
} | |
public void OnDisconnection(ext_DisconnectMode RemoveMode, ref Array custom) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyCom : ExcelDna.Integration.CustomUI.ExcelComAddIn | |
{ | |
public MyCom() | |
{ | |
} | |
public void OnConnection(object Application, ext_ConnectMode ConnectMode, object AddInInst, ref Array custom) | |
{ | |
} | |
public void OnDisconnection(ext_DisconnectMode RemoveMode, ref Array custom) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DnaLibrary RuntimeVersion="v4.0" Language="C#"> | |
<Reference Name="System.Windows.Forms" /> | |
<Reference Name="Microsoft.Office.Interop.Excel" /> | |
<![CDATA[ | |
using System; | |
using System.Reflection; | |
using System.Windows.Forms; | |
using ExcelDna.Integration; | |
using ExcelDna.Integration.CustomUI; | |
using ExcelDna.Integration.Extensibility; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DnaLibrary RuntimeVersion="v4.0" Language="C#"> | |
<Reference Name="System.Windows.Forms" /> | |
<Reference Name="Microsoft.Office.Interop.Excel" /> | |
<![CDATA[ | |
using System; | |
using System.Reflection; | |
using System.Windows.Forms; | |
using ExcelDna.Integration; | |
using ExcelDna.Integration.CustomUI; | |
using ExcelDna.Integration.Extensibility; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*************************************************************************** | |
* Copyright ©2008; Microsoft Corporation. All rights reserved. | |
* Written by Microsoft Office Developer Support | |
* | |
* This code is provided as a sample. It is not a formal | |
* product and has not been fully tested. Use it | |
* for educational purposes only. | |
* | |
* THIS CODE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, | |
* EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Windows.Forms; | |
using System.Reflection; | |
using System.Runtime.InteropServices; | |
using System.Runtime.InteropServices.ComTypes; | |
using Excel = Microsoft.Office.Interop.Excel; | |
using Office = Microsoft.Office.Core; | |
using ExcelDna.Integration; | |
using ExcelDna.Integration.Extensibility; | |
using ExcelDna.Integration.CustomUI; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DnaLibrary Name="Host Add-In" Language="CS" RuntimeVersion="v4.0"> | |
<Reference AssemblyPath="System.Windows.Forms.dll"/> | |
<Reference Name="Microsoft.Office.Interop.Excel" /> | |
<![CDATA[ | |
using System; | |
using ExcelDna.Integration; | |
using System.Windows.Forms; | |
using Excel = Microsoft.Office.Interop.Excel; | |
public class HostAddIn: IExcelAddIn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DnaLibrary Name="Sample Add-In" Language="CS" RuntimeVersion="v4.0"> | |
<Reference AssemblyPath="System.Windows.Forms.dll"/> | |
<Reference Name="Microsoft.Office.Interop.Excel" /> | |
<![CDATA[ | |
using System; | |
using ExcelDna.Integration; | |
using System.Windows.Forms; | |
using Excel = Microsoft.Office.Interop.Excel; | |
public class MyAddIn : IExcelAddIn |