WriteLine does not work

It did ask to update Excel Package. So I did it but with no effect to the writLine function