Used within a Try...Catch...Finally...End Try series of statements to mark the start of the block of instructions that is always executed at the completion of the Try or Catch blocks.
Finally
Prerequisites
Must always follow a Try or Catch statement block. Either a Catch or Finally statement or one of each must appear in a Try structure.
Remarks
The Finally statement marks the start of the block of instructions that is always executed after the successful execution of a Try series of statements or at the completion of the Catch series of statements. This allows a program to specify a series of statements that are guaranteed to be executed before execution continues following the End Try statement.
Please see the documentation on the Try...Catch...Finally...End Try Statements for further information on the use of this statement.
See Also
Exception Handling | Try...Catch...Finally...End Try Statements