I'm running the following simple code:
Private Sub Workbook_BeforeClose(Cancel As Boolean)
If Workbooks(ThisWorkbook.Name).CanCheckIn = True Then Workbooks(ThisWorkbook.Name).CheckIn (SaveChanges = False)
End Sub
However, even I use the "SaveChanges = False" operator, the workbook saves all changes without fireing the "save prompt".
The goal: When closing the file, Excel should fire the save prompt. After that, it should just CheckIn the file without saving as it has been saved already with the save prompt before (if needed).
Thanks for your help,
Cheers Pete