Dim instance As Capabilities Dim key As String Dim value As Object value = instance(key) instance(key) = value