Hi,
I have written some code which seems to trip up, can anyone tell me why this deosn't work?
input_string = MSComm1.Input
input_string_holder_array = Split(input_string, ",")
Label1.Caption = input_string_holder_array(2)
It seems that when the array value is passed over to Label1.Caption is causes a 'Subscript out of range' error. Do I need to do some sort of formatting of that string?
Your advice would be greatly apreciated.
Philip.
I have written some code which seems to trip up, can anyone tell me why this deosn't work?
input_string = MSComm1.Input
input_string_holder_array = Split(input_string, ",")
Label1.Caption = input_string_holder_array(2)
It seems that when the array value is passed over to Label1.Caption is causes a 'Subscript out of range' error. Do I need to do some sort of formatting of that string?
Your advice would be greatly apreciated.
Philip.