Export (0) Print
Expand All
Expand Minimize

Workbook.RemoveCustomization Method

Removes the Visual Studio Tools for Office customization from the workbook.

Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in microsoft.office.tools.excel.dll)

public void RemoveCustomization ()

This method removes the Runtime Storage Control from the document, and deletes the _AssemblyName and _AssemblyLocation custom document properties. For more information, see Runtime Storage Control Overview and Custom Document Properties Overview.

This method might throw a COMException if a worksheet in the workbook is protected. You should remove any protection from worksheets in the workbook before calling this method.

© 2015 Microsoft