Answers for "vba set registry value"

VBA
0

vba registry settings

' Place some settings in the registry. 
SaveSetting appname := "MyApp", section := "Startup", _ 
 key := "Top", setting := 75 
SaveSetting "MyApp", "Startup", "Left", 50 
' Remove section and all its settings from registry. 
DeleteSetting "MyApp", "Startup"
Posted by: Guest on January-22-2021
0

vba get registry value

' Variant to hold 2-dimensional array returned by GetSetting.
Dim MySettings As Variant
' Place some settings in the registry.
SaveSetting "MyApp","Startup", "Top", 75
SaveSetting "MyApp","Startup", "Left", 50

Debug.Print GetSetting(appname := "MyApp", section := "Startup", _
                       key := "Left", default := "25")
DeleteSetting "MyApp", "Startup"
Posted by: Guest on February-14-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language