It should be simple you&#039d think. I have a line line input in a text box like this:<BR>A1, B1, C1, D1<BR>A2, B2, C2, D2<BR>A3, B3, C3, D3<BR><BR>I want to pass each into a separate variable. I am doing that by:<BR><BR>Sub GetInputs()<BR> &#039first transform user input into a one-line text stream<BR> Dim strTemp As Variant<BR> strTemp = txtInput.Text &#039get user input<BR> strTemp = Replace(strTemp, vbCrLf, ",") &#039rid commas<BR> strTemp = Replace(strTemp, " ", "") &#039rid spaces<BR> <BR> &#039assign values into an array and then to the appropriate variables<BR> arrInputs = Split(strTemp, ",", 12)<BR> A1 = arrInputs(0)<BR> B1 = arrInputs(1)<BR> C1 = arrInputs(2)<BR> D1 = arrInputs(3)<BR> A2 = arrInputs(4)<BR> B2 = arrInputs(5)<BR> C2 = arrInputs(6)<BR> D2 = arrInputs(7)<BR> A3 = arrInputs(8)<BR> B3 = arrInputs(9)<BR> C3 = arrInputs(10)<BR> D3 = arrInputs(11)<BR>End Sub<BR><BR>Here&#039s the problem: How can I trap any errors in there? Specifically:<BR>1) If the user enters less than 12 items<BR>2) If the user enters more than 12<BR>3) if the user enters anything other than a number, comma, space or a line break<BR><BR>I appreciate any help!