SaveAs Method

SaveAs Method

See Also         Example         Applies To

Saves the Outlook item to the specified path and in the format of the specified file type. If the file type is not specified, the MSG format is used.

Syntax

object.SaveAs(Path, [Type])

object   Required. An expression that returns an Outlook object that is listed in the "Applies To" list.

Path   Required String. The path on which to save the item.

Type   Optional Variant. The file type to save. Can be one of the following OlSaveAsType constants: olDoc(4), olHTML(5), olMSG(3), olRTF(1), olTemplate(2), olTXT(0), olVCal(7), or olVCard(6).