https://officelivetech.com/error-code-0-1018-0/

Quick steps to fix Error Code 0-1018-0

To fix the error code 0-1018(0) in office 365/2021/2019 you need to delete the altered Office Registry keys or remove and re-create the keys