XLL+ Class Library (6.3)

CXlMacros::SaveCopyAs

Saves a copy of the current document using a different name but all the current document settings, such as passwords and file protection

static int SaveCopyAs(
   LPCTSTR document_text
);

Parameters

document_text

Document_text is the name you want to give the copy of the workbook.

Return Value

Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.

Remarks

See the Microsoft Excel on-line Help for full details about this function.

Requirements

Header: xlfuncs.h

See Also

CXlMacros Class | CXlMacros Methods