Post the code demarking which line is causing error
& what is the office version