Event fired before a project file is saved.

Syntax:

BeforeSave(Project As TranslationProject, ProjectFile As ProjectFile, Cancel As ReturnBoolean)
Parameters: Project Project containing the project file that should be saved.
ProjectFile Project file that should be saved.
Cancel False: No cancellation of the save process. The project file will be saved. True: Save process will be canceled. The project file will not be saved.

Example:
' in a class module "EventClass"

Dim WithEvents App As Application

Private Sub App_OnChangeActiveTargetLanguage(ByVal Project As TranslationProject, _
	ByVal NewActiveTargetLanguageCode As String)
 
[...]

End Sub

' in a module

Public EventManager As New EventClass

Sub TestMacro()
	Set EventManager.App = Application
End Sub

See also:

Class Application

Last Updated: 04/26/05