Example

This example saves all of the current settings to the current settings file, overwriting the existing file. The name of the current settings file is returned by the SettingsFile property.

Sub SaveThisSession ()

With Session

.SaveSettings .SettingsFile, rcSettings, rcOverwrite

End With

End Sub