TemplateRemoveExtData Property [Excel 2003 VBA Language Reference]

True if external data references are removed when the workbook is saved as a template. Read/write Boolean.

Example

This example saves the workbook as a template that contains no external data.

With ThisWorkbook
    .TemplateRemoveExtData = True
    .SaveAs "current", xlTemplate
    .TemplateRemoveExtData = False
End With

Applies to | Workbook Object