Share via


XMLExcelDocument_RU::newFromFile Method [AX 2012]

Creates a new instance of the XMLExcelDocument_RU class and initializes it opening an existing file or copy of a file.

Syntax

client server public static XMLExcelDocument_RU newFromFile(
    Filename _filename, 
   [Filename _newFileName, 
    boolean _templateMode])

Run On

Called

Parameters

  • _templateMode
    Type: boolean
    The open file in template mode.

Return Value

Type: XMLExcelDocument_RU Class
A new instance of the XMLExcelDocument_RU class.

Exceptions

Exception Condition
Error

A file was not open.

See Also

Reference

XMLExcelDocument_RU Class