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
Let me back up for a minute. Your original question relates to task deletion but then you said you wanted customization of the Enterprise Global template to prevent task deletion. Unless I'm missing something, task deletion has nothing to do with the Global file. The Global file, local or enterprise, sets basic Project options, views, calendars, and other "global" parameters. It does not control tasks or resources, those are unique to a specific Project file.
So please explain again what the real issue is.
And for your reference, there is no MS Project On Premises Product Group unless you have a special support contract with Microsoft (i.e. paid support contract). This forum is for technical support issues but it is not manned by Microsoft personnel, it is manned by volunteers like myself.
John
- 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