Posts Tagged ‘C#’
In the previous part we looked at using Extended MAPI to handle new mails in Outlook and despite the fact that is does a pretty decent job of it, it still has some serious limitations. In this, the fourth and final part of the series, we will write our own solution to the problem
...
Read the rest of this entry →
.NET, C#, COM add-ins, Office, Outlook |
11 Comments
As I've mentioned in my previous article Excel enables us to provide our users with interactive and powerful ways to visualize their data. Pivot tables add another dimension to this by summarizing thousands of records of data in one page and let you analyse trends in your data without the need for formulas...
Read the rest of this entry →
.NET, C#, COM add-ins, Excel |
7 Comments
Andrei Smolin | October 11th, 2011
Really often, when I saw an error returned by an Excel formula, I thought about the poor possibilities that this error-reporting approach – a remnant of bygone concepts – provides for developers. The very first time I thought about showing a custom task pane from a UDF was when Add-in Express allowed showing custom panes in Excel; it was back in 2007...
Read the rest of this entry →
C#, COM add-ins, Excel, Office, task panes, VB.NET, XLL |
4 Comments
Andrei Smolin | October 7th, 2011
The implementation of ADXExcelRef.ConvertToA1Style (ConvertToR1C1Style) uses xlfRefText which is NOT thread-safe as per Financial Applications Using Excel Add-in Development in C/C++ (2nd edition). On the other hand, xlSheetNm returning the sheet name is thread-safe. It means that the thread-safe way to get the caller address is to write some code...
Read the rest of this entry →
.NET, C#, Excel, Office, VB.NET, XLL |
8 Comments
Andrei Smolin | October 3rd, 2011
Whether your UDF is a VBA macro or an Excel Automation add-in or even an XLL add-in, you can invoke any method it provides to the user. To do this, you need to get or create an Excel.Application object and invoke ExcelApp.Evaluate() supplying it with the correct syntax for your method and its parameters....
Read the rest of this entry →
.NET, C#, COM add-ins, Excel, Object model, Office, RTD servers, XLL |
2 Comments