// For complete examples and data files, please go to https://github.com/aspose-slides/Aspose.Cells-for-Cloud try { // Instantiate Aspose Storage API SDK StorageApi storageApi = new StorageApi(Configuration.apiKey, Configuration.appSID, true); // Instantiate Aspose Words API SDK CellsApi cellsApi = new CellsApi(Configuration.apiKey, Configuration.appSID, true); String input = "sample1.xlsx"; Path inputFile = Utils.getPath(ClearCellFormattingWorksheet.class, input); String output = "sample2.xlsx"; Path outputFile = Utils.getPath(ClearCellFormattingWorksheet.class, output); String sheetName = "Sheet1"; String range = "A1:A12"; Integer startRow = null; Integer startColumn = null; Integer endRow = null; Integer endColumn = null; storageApi.PutCreate(input, null, Utils.STORAGE, inputFile.toFile()); cellsApi.PostClearFormats(input, sheetName, range, startRow, startColumn, endRow, endColumn, Utils.STORAGE, Utils.FOLDER); com.aspose.storage.model.ResponseMessage sr = storageApi.GetDownload(input, null, Utils.STORAGE); Files.copy(sr.getInputStream(), outputFile, StandardCopyOption.REPLACE_EXISTING); } catch (Exception e) { e.printStackTrace(); }