Hello and thank you for any help in advance.

I would like to automate proces of switching all activities constraint type to "As Late As Possible" so I dont have to switch activity by activity. Is there a vba solution for this? Also, is there a way to return it back to "As Soon As Possible" with VBA?