I have the following function which retrieves a value from a named range:
Function getSetting(settingName As String)
getSetting = Application.VLookup(settingName, Range("rSettings"), 2, True)
End Function
Now I can easily say myColor = getSetting("myColor")
and it will return "blue" or whatever.
What I want to do now is update that value.
Function updateSetting(settingName As String, newValue As String)
?????
End Function
Ideas?