Create a variable, say "yourvariable", then in its own module, put the following code: Public yourvariable As Boolean 'Set yourvariable for Save. Then, in "Workbook", "Before Save", put the following code. The user will be given a message when he tries to save the workbook.
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
If yourvariable = True Then GoTo endit: ' checks if your variable is true
MsgBox "You are not allowed to save this workbook. If you wish to leave, click on the EXIT PROGRAM button"
Cancel = True
endit:
End Sub
You can then write a macro like this:
Sub SaveProgram()
yourvariable = True
ActiveWorkbook.Save
End Sub
This will allow you to save the workbook under macro control when you wish to.
Hope this helps