FileDownload Event
Fires to indicate that a file download is about to occur. If a file download dialog box can be displayed, this event fires prior to the appearance of the dialog box.
Syntax
Private Sub object_FileDownload( _ ByVal bActiveDocument As Boolean, _ ByRef bCancel As Boolean)
Parameters
- object
Object expression that resolves to the objects in the Applies To list.
bActiveDocument
A Boolean that specifies whether the file is an Active Document.
false
The file is not an Active Document.true
The file is an Active Document.bCancel
A Boolean that specifies whether to continue the download process and display the download dialog box.
false
Default. Continue with the download process and display download dialog box.true
Cancel the download process.
Remarks
This event enables the user to take an alternative action during a file download.
Applies To