XLL+ Class Library

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

[C++]
static int SaveCopyAs(
   const char* 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