Write a data in value field in Multi State symbol using VB code

Hi,

I wanted to write a data (integer) into the Values field of Multi-State Symbol.

I have attached a screenshot of current code but I could not modify the "Values" field.

I wanted to Write 1 if State is 1, and write 2 if State is 2 and so on until I reach state 207.