¡@

Home 

c# Programming Glossary: excelwindow

How to use use late binding to get excel instance?

http://stackoverflow.com/questions/779363/how-to-use-use-late-binding-to-get-excel-instance

ComInterfaceType.InterfaceIsIDispatch public interface ExcelWindow You can retrieve this interface using a tool like Reflector.. of AccessibleObjectFromWindow to match the imported ExcelWindow interface DllImport Oleacc.dll static extern int AccessibleObjectFromWindow.. int hwnd uint dwObjectID byte riid out ExcelWindow ptr Finally you must use reflection to get the Excel.Application..