Initialize Office Report

Initializes an MS Office Report to prepare it for writing.

 

Input Arguments

 

0

File Path or Embedded File

Report File Path

The path for the newly created MS Word file.

1

String

Title for Document

A title for the report.

2

File Path or Embedded File

Template File Path(optional)

The path to a template file (if desired).

 

Return Arguments

None.

 

Returned Status

 

SUCCESS

The report was initialized successfully.

FAILURE

A template file was specified but not found.

 

Remarks

Ensure that you close the report when finished working with it. Otherwise, a hidden instance of Microsoft Word will continue executing in the background. (It can be terminated using the Windows Task Manager).