SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 290 | Next

Jim DeMarco

"Pro Excel 2007 VBA"

NET 324
VSTO SE provides us with two new project categories, Excel 2003 Add-ins and Excel 2007
Add-ins. It adds an InfoPath template project to the Office menu, as shown in Figure 9-6
(which shows the Windows Vista interface).
Figure 9-6. InfoPath Form Template project added in VSTO SE
nNote If you already have VSTO installed, you can safely add VSTO SE. The existing Office 2003 project
types will still be available. The new project types of VSTO SE will be available in addition to the original
project types.
Figure 9-7 shows the VSTO SE Office 2003 Add-in projects available in the New Project
dialog box.
CHAPTER 9 n ACTIVEX AND .NET 325
Figure 9-7. Office 2003 Add-in projects added in VSTO SE in Windows XP
Another new project category containing Office 2007 Add-in projects is also added. The
new selections are shown in Figure 9-8.
Figure 9-8. Office 2007 Add-in projects added in VSTO SE in Windows Vista
CHAPTER 9 n ACTIVEX AND .NET 326
VSTO is no longer available, but if you have a copy, you can still write code for Excel 2003
that will run in Excel 2007 Compatibility mode. VSTO SE provides add-in programming only.
nNote VSTO SE is available as a free download from Microsoft at www.microsoft.com/downloads/
details.aspx?familyid=5E86CAB3-6FD6-4955-B979-E1676DB6B3CB&displaylang=en (if this link
fails to work in the future, you can search the Web for ???VSTO SE???).
Managed Code in an Excel Project
We are going to look at two examples of running managed code in Excel.


Pages:
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302