if you have loop with XLSX format or Using any Control Statement ,use Return Statement then error will clear automatically