Hi,
I am pretty sure that is not possible to use Aspose.Cells to set the “Lock project for viewing” in the VBA-editor (Tools->VBAProject Properties->Protection).
May I add a feature request: Make it at least possible to check if this has been set.
It is absolutely crucial that our developers turn on the “Lock project for viewing” when designing the Excel templates, but sometimes they forget. If we at least can check if the flag is set, our code can prevent showing the Excel document to a user.
Thanks,
Fredrik