‘HowTo samples’ category archive
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
Even though the object model can be somewhat daunting it gives you amazing flexibility and power over programmatically bending MS Word to your will. In today's article we'll have a look at the Microsoft Word document properties, content controls, quick parts and bookmarks, and how you can access and use these objects in your own add-ins...
Read the rest of this entry →
.NET, C#, COM add-ins, Visual Studio, Word |
39 Comments
In today's article we'll take a look at how you can combine information and text from various existing Microsoft Word documents into a single document. We'll create a Word add-in that will allow the user to select and insert different paragraphs from one or more existing Word documents, into another document...
Read the rest of this entry →
.NET, C#, COM add-ins, Visual Studio, Word |
No Comments
Ty Anderson | August 15th, 2013
Designing Microsoft Word documents is not all that different from designing a web page; you want to keep the content and the design separate. In Word, you keep them separate by utilizing styles. Styles include a plethora of design elements (e.g. font, borders, paragraph format, etc). Let's have some fun with them via code...
Read the rest of this entry →
.NET, VB.NET, Visual Studio, Word |
No Comments
Ty Anderson | August 7th, 2013
Microsoft Word is about the authoring of documents. Documents contain pages, paragraphs, sentences and more. Today, I want to wade into the waters of manipulating Word document content. The plan is to get your feet wet by providing an overview of the key objects along with code samples...
Read the rest of this entry →
.NET, VB.NET, Word |
44 Comments