Hello, I am trying to change the value of items within a custom class within excel. The custom class is stored in a Dictionary.
For example
Existing Dictionary:
| Key |
Custom Class Item (cfield1, cfield2, cfield3) |
| a |
cfield1, cfield2, cfield3 |
| b |
cfield1, cfield2, cfield3 |
If Key 'a', cfield2 has a value of "exist1, exist2", how do I later in the program change the key 'a' , cfield2 value to "new1, new2, new3"? I cannot simply create variables for 'exist' and change the values so I will actually need to modify the item value without changing the key. My current solution is to entirely replace the key/item pair for every entry requiring an edit. Is there a way to directly change the value of a variable within a custom class while the class object is stored in a dictionary? Thanks in advance for any advice.
Regards
pw