An Excel Programmability blog by Gabhan Berry
Translate This Page
Translate this page
Browse by Tags
Tagged Content List
Custom Task Panes
A Custom Task Pane (CTP) is a user interface component in Office which is used to provide a non-modal window. Some of Excel's features, such as the PivotTable field list and Reseach tool, use CTPs. CTPs are exposed to customer extensions via the Office extensibility COM libraries. Any Excel developer...
13 Aug 2008
How to code a .NET RefEdit Control
One of the controls frequently used by Excel is the reference edit box. This control is used to gather a range address from the user. The user specifies the range either by typing in its address or by using the mouse and clicking on the actual cells they want to use. Here's a screenshot of the inbuilt...
11 Jun 2008
Writing Custom Excel Worksheet Functions in C#
Writing our own, custom worksheet functions is a great way to extend Excel. Before Excel 2002 we developed custom functions by either writing them using VBA inside an XLA or by using C/C++ inside an XLL. Excel 2002 introduced a new type of addin called an automation addin . An automation addin enables...
7 Apr 2008
Analysing Column Data using C# (... with a little Custom Drawing thrown in for fun)
When presented with a table of data in Excel, sometimes it is useful to be able to learn some quick facts about it. One quick fact which is often useful is the distribution of values within a particular column. For example, if we have a column called Region it is useful to know which regions occur more...
10 Mar 2008
Ribbon Customisation Links
I thought it would be useful to provide a list of some good articles on customising the Office ribbon: 3-part Article on Ribbon Customisation ; Ribbon Developer Centre ; Jenson Harris' blog ; Repurposing Commands on the Ribbon ; Hiding groups of commands on the Ribbon ; Adding Custom...
14 Feb 2008
Excel Event Handling in C#
After I posted about getting up-and-running with managed code and Excel , I realised that I was really writing a brief introduction to coding a C# Excel addin. Then I realised that there are two more areas that need to be covered before we would be ready to start building a proper Excel addin in C# ...
12 Feb 2008
The Woes of Excel's Optional Parameters and C# ... a (potential) Workaround
When coding in C# with Excel, it doesn't take long before you encounter the dreaded 'optional parameter' issue. If you have ever copied-and-pasted numerous System.Reflection. Missing .Value statements then you've probably wondered a few things. Firstly, what is this and why is it happening? Secondly...
6 Feb 2008
Excel and Managed Code ... How does that work?
As well as C/C++ and VBA, I'll be blogging a lot about managed code. So I figured it would be useful to lay out the basics of how Excel and managed code interoperate today. If you write Excel addins you’ve probably seen articles like this one that show you how you can write your addin in C#. You will...
30 Jan 2008
Page 1 of 1 (8 items)
© 2015 Microsoft Corporation.
Privacy & Cookies