Forum Discussion
Vasily_Zaytsev
Jul 13, 2021Iron Contributor
Prevent from deleting Task in MS Project Pro
Hello.
How can I prevent from deleting Task in MS Project Pro?
BR, Vasily
8 Replies
Sort By
- YesleeCopper ContributorDoes project tasks can be restored in recycle bin?
- John-projectSilver ContributorAs long as a user has write access to Project data, task data can be deleted. There is no "selective access", it's all or none.
What exactly is your issue?
John- Vasily_ZaytsevIron ContributorI need some customization in Enterprise Global Template which prevent task deletion. How to do it with VBA Module or VSTO?
Vasily- John-projectSilver ContributorI don't use the enterprise versions of Project but it will still come down to write access. As I said, there is no selective control for elements of Project.
I suppose you could write a procedure (VBA or VSTO) that queries the current user and if that user attempts to make unauthorized changes, those changes are ignored. However, a much better approach is user training and periodic auditing.
John