Docs HotXLS

ClearVBAProject-method

Removes the workbook's preserved classic XLS VBA storage payload and any parsed VBAProject view created from it. The method is an alias for ClearVBA with naming that matches the other VBA project payload helpers

Syntaxe

procedure ClearVBAProject;

Exemple

Workbook.ClearVBAProject;
Workbook.SaveAs('C:\Reports\NoMacros.xls', xlExcel97);

Voir aussi