Browse by Tags

Word Add-ins Part 3: Search for Text Strings in Documents and Add Comments (Harry Miller)
10 September 08 02:49 PM
You can search the text in any open Microsoft Office Word document for specific strings if you put the code in an application-level add-in. When you find an instance of the string, you can perform some action on it. This video shows how to flag the string Read More...
Postedby VSTO Team | 3 Comments    
Word Add-ins Part 2: When Add-ins Collide (Harry Miller)
05 September 08 12:43 PM
When you build an add-in project, it installs the add-in on your development computer. Even if you close that project and start another, or even close Visual Studio entirely, all add-ins you have built will still run when you start the Office application Read More...
Postedby VSTO Team | 1 Comments    
Word Add-ins Part 1: Clear the Ribbon Except for My Controls (Harry Miller)
02 September 08 06:48 PM
You can easily customize the Ribbon to show only the controls you want to display. This video shows how to clear the Ribbon in Microsoft Office Word so it contains only a single button. The button inserts a graphic into the open Word document at the cursor Read More...
Postedby VSTO Team | 1 Comments    
Create an Excel Shortcut Menu That Writes Selected Values to a Text File (Harry Miller)
22 August 08 01:14 PM
It doesn't take much code to add a command to a shortcut menu in Excel, but the menu objects have strange names so it's not intuitive, to me at least. The trickiest part is just sorting out how it's supposed to work, because it seems like it should be Read More...
Activating a Custom Tab on the Ribbon When a Document Is Opened (Harry Miller)
12 August 08 05:36 PM
A lot of people would like to do this. It makes sense that a developer would want to select the custom tab automatically, if the controls that are most useful for the current document are all on that tab. This video goes in-depth about this programming Read More...
Postedby VSTO Team | 5 Comments    
Filed under: , ,
Automatic project conversion / migration (Harry Miller)
24 July 08 05:47 PM
By default, Visual Studio automatically converts Office 2003 projects into Office 2007 projects when you open the project, if you have the 2007 Office system installed on your development computer. But you can change that default behavior. Resources Forum: Read More...
Postedby VSTO Team | 4 Comments    
Removing Customization Code Before E-Mailing a Document (Harry Miller)
18 July 08 06:54 PM
When you create a document-level customization for a document, all the copies of the document will be customized too. Even if you save a copy of the document with a different name, when the document is opened it'll try to find and run the code. All the Read More...
Postedby VSTO Team | 3 Comments    
Assembly Could Not Be Found or Could Not Be Loaded (Harry Miller)
10 July 08 11:54 AM
This video tells the story of someone who created an Excel 2003 workbook project in Visual Studio 2008.  No matter what configuration he tried on the client machine, he got this error when opening the workbook: The assembly could not be found or Read More...
Postedby VSTO Team | 2 Comments    
Catching Save or SaveAs in Word 2007 (Harry Miller)
03 July 08 02:57 PM
You can override Ribbon commands and run your own code for Save or Save As, or you can simply cancel attempts to save a document in the DocumentBeforeSave event handler. Code and resources: Forum post: Microsoft Word 2007 Disable Save As Temporarily Repurpose Read More...
Postedby VSTO Team | 2 Comments    
WPF in Office Solutions (Harry Miller)
25 June 08 07:01 AM
A few months ago, Andrew Whitechapel wrote an article and sample application that demonstrates combining the native capabilities of an Office client application with the UI capabilities of WPF. Behind the UI, the application is connected to remote data Read More...
Postedby VSTO Team | 1 Comments    
Microsoft Office Developer Show Episode 5 (Harry Miller)
18 June 08 10:52 AM
In this episode: a tip about setting the background color of a custom task pane to match the Office theme, and about calling functions in add-ins from other add-ins. Plus, Mary creates an Outlook add-in that helps her remember attachments. Duration: 5 Read More...
Postedby VSTO Team | 2 Comments    
Microsoft Office Developer Show Episode 4 (Harry Miller)
11 June 08 09:16 AM
In this episode: a tip about saving and restoring the position of custom toolbars in Outlook 2007, and how to copy values from one worksheet and paste them in another. Plus, Mary finishes her Excel application and sends it to her boss in e-mail. Duration: Read More...
Microsoft Office Developer Show Episode 3 (Harry Miller)
03 June 08 08:01 AM
In this episode: a tip about serializing data in a Word document so users can't see it, and why content controls disappear from documents if you add them at run time. Plus, Mary customizes the Ribbon in Excel so her boss Kemp doesn't need to use button Read More...
Postedby VSTO Team | 1 Comments    
Microsoft Office Developer Show Episode 2 (Harry Miller)
28 May 08 07:14 PM
In this episode: a tip about how to save a new copy of a Word document instead of saving over the original, and how to create a class in an Outlook project to access methods without hitting the object model security prompts. Plus, Mary creates a quick Read More...
Postedby VSTO Team | 3 Comments    
Microsoft Office Developer Show Episode 1 (Harry Miller)
21 May 08 03:16 PM
This episode has a tip about adding controls to Word documents, a case file about how Canada Post solved its data entry problems, and what to do when an add-in doesn't run and there's no error message. ";" galleryimg="no" mce_src="http://blogs.msdn.com/blogfiles/vsto/WindowsLiveWriter/MicrosoftOfficeDeveloperShowEpisode1_C0DD/videoa560ee5da024.jpg"> Read More...
Postedby VSTO Team | 1 Comments    
Filed under: , ,

This Blog

Syndication

Page view tracker