Private Enum ObjField
Field1
Field2
Field3
' ...
End Enum
' ...
Private Function Obj_Key(ByVal fld As ObjField) As String
Select Case fld
Case ObjField.Field1: Obj_Key = "Field1"
Case ObjField.Field2: Obj_Key = "Field2"
Case ObjField.Field3: Obj_Key = "Field3"
' ...
End Select
End Function