// For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
// initialize XlsFormat
XlsFormat xlsFormat = new XlsFormat(Common.MapSourceFilePath(filePath));
// clean metadata
xlsFormat.CleanMetadata();
//save output file...
xlsFormat.Save(Common.MapDestinationFilePath(filePath));