I made a workbook which we are using with multiple people. In the workbook i have a macro which places some value in column A when a certain range changes.
This all works well. But somethimes when people are opening the file, the macro seems disabled. This happens even when content is enabled and macro's are enabled.
I tried to enable events, calculation etc when files get opened, but if the macro's are disabled this wil not work ofcourse.
How can i fix this and why is this happening?
Some of my code
Private Sub SyncProjectplanning()
Run "OptimizerON"
Run "PublicFoldersAndFiles"
Run "PublicProjectInfo"
Run "ProjectScreenupdate"
'Controle voor updates in fase informatie
If ActiveWorkbook.Sheets("Planning").Range("A7") = 1 Then
Run "SyncToBureauplanner"
Run "SyncPhaseToEmployeplanners"
End If
Run "SyncToEmployeplanners"
Run "OptimizerOFF"
Exit Sub
End Sub