‘Add-in Express for Office and .net’ category archive
Ty Anderson | November 29th, 2013
Microsoft Excel, with its almost endless supply of rows and columns, is data DisneyLand. It's fun to work with data and make it easy to consume. Part of the fun, at least for developers, is populating Excel with data. Today, I want to take another look at how to use arrays to populate Excel with data...
Read the rest of this entry →
.NET, COM add-ins, Excel |
5 Comments
The Microsoft Excel Office Object model is a varied and very mature framework and allows you to not only create VBA macros and functions but also COM add-ins. Of course creating these add-ins is made even simpler with the help of Add-in Express...
Read the rest of this entry →
.NET, COM add-ins, Excel, VBA |
6 Comments
There are a lot of examples floating around on the internet on how to convert Excel column numbers to alphabetical characters. There are a few ways to get the column letter, using either vanilla C# or VB.NET, Excel formulas or the Excel object model. Let's take a look at some of the solutions...
Read the rest of this entry →
.NET, C#, Excel, VB.NET |
21 Comments
You'll see a lot of complaints on the internet about Excel and other Microsoft Office applications not quitting properly after using the object model to perform certain actions, or showing sporadic and unpredictable behavior in COM add-ins. In the end most of these issues boil down to developers not properly disposing of COM objects...
Read the rest of this entry →
.NET, COM add-ins, Excel, Visual Studio |
55 Comments
Ty Anderson | October 31st, 2013
Today, I'll show-off some code that shows how to automate pivot tables. It's quite likely your user base is 100% comprised of uber-serious spreadsheet jockeys. These people need your help. This code will help you relate to them and make their life easier...
Read the rest of this entry →
.NET, COM add-ins, Excel |
12 Comments
A number of people I've met had no idea about one of Microsoft Excel's most powerful features. I'm talking about the ability to add data from external sources to your Excel sheet and manipulate it from there. Of course as a developer this can come in very handy when you want to provide your users with an intuitive and flexible way to access your data and empower them to create their own reports...
Read the rest of this entry →
C#, COM add-ins, Excel |
7 Comments
Ty Anderson | October 24th, 2013
Microsoft Excel, being a spreadsheet application, automatically brings structure to your thinking. You can build models to help you think through just about anything. You can organize your data and create lists of any imaginable type. In fact, most apps in the mobile app stores these days can easily be replaced by Excel files. Even games...
Read the rest of this entry →
.NET, COM add-ins, Excel, VB.NET |
12 Comments
Adding charts in your Excel add-ins using the Excel object model is easier than you might think. In this article we'll take a look at how to insert charts programmatically, format their style and colors as well as how to change the chart's display by filtering its data...
Read the rest of this entry →
C#, COM add-ins, Excel |
8 Comments
If you look at the title of this article, it almost sums up what Microsoft Excel is. Without cells, values and formulas, you just cannot get much done in Excel. Of course everything is contained within worksheets and workbooks and you can do so much more with Excel, but at the heart of it all lies cells...
Read the rest of this entry →
.NET, C#, COM add-ins, Excel |
21 Comments
Ty Anderson | October 9th, 2013
We've covered how to write code that automates Excel base objects. Today, I want to focus on the Excel workbook file and its worksheets. Let's take a look at how to perform some useful tasks with these two objects...
Read the rest of this entry →
|
13 Comments
Ty Anderson | October 2nd, 2013
Today we will tackle the issue of customizing Excel menus and back stage view. As you know, there are multiple versions of Excel "in-play" and it is wise to architect your solutions to work seamlessly with them. Add-in Express provides the tools, but it helps to know how to use them...
Read the rest of this entry →
.NET, COM add-ins, Excel, VB.NET |
No Comments