The OLE_CloseNote() function closes the specified OLE container file. The OLE container application will remain open.


OLE_CloseNote(OLE_doc_path, save_flag)


OLE_doc_path – The complete path of the OLE container file you want to close. The path is in generic format.

save_flag – A string specifying whether the objects in the OLE container file should be saved when the file is closed. Passing the string “true” indicates the objects should be saved, while “false” indicates the objects should not be saved.

Return value

The boolean value true.

Documentation Feedback