Dynamic Data Export (DDE) is a powerful tool that allows you to control the export of report data to Microsoft Excel. For each type of report, the DDE dialog displays a grid similar to that report type and allows you to specify which report cells are exported to Excel and where the cells are located in Excel.
Select Report Tab> DDE Group> Export Data To MS Excel in the Ribbon Bar.
The DDE dialog:
Depending on the selected Report Type, many different features may be found (for example, Cylindricity reports apply only to cylinders, Flatness reports are solely for planes, Feature Tolerance reports are available for any feature).
Select the type of report you wish to export from the Report Type drop-down.
The Report Data group of the DDE dialog displays a representation of the selected report type. The Feature Tolerance of a circle is shown below.
The Feature Type drop-down acts as a filter, limiting the features that appear in the Report Item drop-down to the selected feature type only. Selecting “All” lists every feature with the selected report type in the Report Item drop-down.
Select the type of feature you wish to export from the Feature Type drop-down list.
CMM-Manager updates the contents of the Report Item list to contain only those features for which a report of the selected type exists. For example, if Form Deviation is chosen as the Report Type, only those features that have had a Form Deviation Report appear in the Report Item drop-down.
Select the report to export from the Report Item drop-down.
Use The Report Data group of the DDE dialog to select where report data will be in the Excel worksheet. Type the destination row and column numbers, separated by a comma, into each yellow cell in the DDE layout template in the Report Data section. These are the addresses of the cells in the Excel worksheet.
Click Reset if you make a mistake and need to reset all cells.
Click Auto Assign to assign the starting cell location of the report in the Excel spreadsheet and automatically populate the rest of the cells according to that location.
The destination cell locations are automatically populated according to the starting location.
In addition to Auto Assign and manual entry, the user can quickly populate the cells from active selections in an open Excel document.
Address adjustments can be made to individual highlighted cells using the Shift Address buttons.
Address adjustments can be made to all cells in Report Data and multiple DDE operations by checking the Apply to selected operations checkbox.
The Customer Data group:
Click Add to define customer-specific information that will be exported to the target spreadsheet.
The Customer Data dialog:
Name: Enter a name for the Customer Data field in the Name text box.
Type: Select the type of customer data field you want to create from the Type drop-down menu: (see options below)
Value:
- String: Enter text in the Value text box.
- Time: The Value text box becomes read-only and loads the current time.
- Operator: The Value text box becomes read-only and loads the operator’s name.
- Incremental Number: Enter an integer for the Incremental Number in the Value text box.
- Report Header Data: The Name field becomes a selectable list from the report header data. The selected content from the report header appears as a read-only value in the Value text box.
- Variable: Enter a variable name from a previous VB Script in the Name text box.
Click Modify or double click on the customer data to make changes to the selected customer data.
Click Delete to delete the selected customer data
Click Delete all to delete all customer data
Click Reset to remove the Customer Data positions in the Excel worksheet.
Excel Spreadsheet Settings:
File Name: Enter the name of the Excel spreadsheet (.xls) file that will receive the report data or click the “...” button to browse for the file.
If you are in Teach-On Mode, a checkbox labeled View by MS Excel after program execution is accessible. Check the box if you want Excel to open the target spreadsheet immediately at the end of the program.
Output to worksheet: This is the index of the Excel worksheet that will receive the DDE data.
Click Preview to see what the exported data will look like in Excel. This command creates an Excel worksheet called Preview.xls in the CMM-Manager reports folder.