Hi
Hi,
Well, I am not very sure about your query. But I think if you don't want to save the excel file just don't use Workbook.Save() method.
The simple coding steps involved might be:
Workbook workbook = new Workbook();
// You code goes here.
Condition --> if invalid data found
{
return;
}
else
{
workbook.Save(strFilePath................);
}
Thank you.