SetPreference Method
The SetPreference method defines the name/value pair as an application preference.
Syntax
object.SetPreference (
i_Name As String,
i_pValue As Variant )
Parameters
Parameter | Description |
---|---|
i_Name |
The name of the application preference. |
i_pValue |
The value to store in the application preference. |
Remarks
The i_pValue argument can have a value with only one of the following types:
String
Long
Double
Boolean