Error in assistant "This command is not available when excel is sandboxed"

No it was not being run in PIP.