Macro.SaveAs

Use this function to save the macro as the specified file string.

Syntax Parameters Return value
Function Macro.SaveAs( _
    Name As String, _
    Optional Overwrite As Variant = 0) As Boolean
  • Name [in]

    The fully-qualified pathway to where the macro shall be saved.

    Type: String

  • Overwrite [in, optional]

    Whether or not to overwrite the file if it already exists. This parameter defaults to False.

    Type: Variant

    Default value: 0

Boolean