MPPSaveOptions.ClearVba
MPPSaveOptions.ClearVba property
Gets or sets a value indicating whether to remove existing VBA macros data when saving a project to MPP format.
public bool ClearVba { get; set; }
Examples
Shows how to remove VBA macros from MPP file.
var project = new Project(DataDir + "VbaProject.mpp");
project.Save(OutDir + "Vba.cleared.mpp", new MPPSaveOptions() { ClearVba = true });
See Also
- class MPPSaveOptions
- namespace Aspose.Tasks.Saving
- assembly Aspose.Tasks