Application.AddEvent

This function adds event code from the specified file to the document.

Syntax Parameters Return Value
Sub Application.AddEvent( _
    FileName As String)
  • FileName [in]

File path of the spreadsheet or macro to copy the document level events from.

Type: String

This function does not return a value.