Specifies whether a file should be created or overwritten when saving from a Stream object. The values can be combined with an AND operator.
Constant | Value | Description |
---|---|---|
adSaveCreateNotExist | 1 | Default. Creates a new file if the file specified by the FileName parameter does not already exist. |
adSaveCreateOverWrite | 2 | Overwrites the file with the data from the currently open Stream object, if the file specified by the Filename parameter already exists. |
ADO/WFC Equivalent
These constants do not have ADO/WFC equivalents.
Applies To: SaveToFile Method