|
|
|
|
|
Total Hits: 1 | Today: 1
|
Author: Microsoft Corporation
|
Rating:
|
|

In this task, you will use the WorkflowLoader class you created in Task 1: Create the Workflow Designer Loader and integrate it into the Windows Form you created in Task 2: Create the Workflow Designer Hosting Windows Form. The Windows Form contains a Panel control that is used to host the Windows Workflow designer. This is accomplished by creating a WorkflowView object and adding it to the child activities collection of the Panel control. You will also add the code to automatically parse any Xa...
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Microsoft Corporation
|
Rating:
|
|

This example demonstrates how to display text in a cell programmatically. To display text in cell, use either a NamedRange control or a native Excel range object....
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Microsoft Corporation
|
Rating:
|
|

You can put a value in a cell by using a range. The following examples use the Value2 property of the range instead of the Value property to avoid having to pass in parameters. To send a value to a cell in a document-level customization...
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Microsoft Corporation
|
Rating:
|
|

When you create a workbook programmatically, it is a native Microsoft.Office.Interop.Excel..::.Workbook object, not a Microsoft.Office.Tools.Excel..::.Workbook host item.
Starting in Visual Studio 2008 Service Pack 1 (SP1), you can generate a Microsoft.Office.Tools.Excel..::.Workbook host item for a Microsoft.Office.Interop.Excel..::.Workbook object in an application-level project. For more information, see Extending Word Documents and Excel Workbooks in Application-Level Add-ins at Run T...
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Microsoft Corporation
|
Rating:
|
|

The Workbooks collection in Microsoft Office Excel makes it possible to work with all open workbooks and to open workbooks....
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Microsoft Corporation
|
Rating:
|
|

There are several ways to save a workbook. You can save a workbook without changing the path. If the workbook has not been saved before, you should save the workbook by specifying a path. Without an explicit path, Microsoft Office Excel saves the file in the current folder with the name it was given when it was created. You can also save a copy of the workbook without modifying the open workbook in memory....
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Microsoft Corporation
|
Rating:
|
|

There are two procedures for closing the active workbook: one for document-level customizations and one for application-level add-ins. To close the active workbook in a document-level customization...
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Microsoft Corporation
|
Rating:
|
|

You can programmatically add a new worksheet to the collection of worksheets in the workbook. To add a new worksheet to a workbook in a document-level customization...
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Microsoft Corporation
|
Rating:
|
|

You can show or hide any worksheet in a workbook. To hide a worksheet, use the worksheet host item or access the worksheet by using the sheets collection of the workbook....
|
|
|
|
Total Hits: 3 | Today: 3
|
Author: Microsoft Corporation
|
Rating:
|
|

You can programmatically change the position of worksheets relative to other worksheets in a workbook. If you do not specify a location for the moved sheet, Excel creates a new workbook to contain it....
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Microsoft Corporation
|
Rating:
|
|

You can protect a Microsoft Office Excel workbook so that users cannot add or delete worksheets, and also unprotect the workbook programmatically. You can optionally specify a password, indicate whether you want the structure protected (so users cannot move sheets around), and indicate whether you want the workbook's windows protected.
Protecting a workbook does not stop users from editing cells. To protect the data, you must protect the worksheets. For more information, see How to: Prote...
|
|
|
|
Total Hits: 2 | Today: 2
|
Author: Microsoft Corporation
|
Rating:
|
|

You use a similar process to refer to the contents of a NamedRange control or a native Excel range object....
|
|
|
|
|
|