Help!
I am a newbie and have a macro that needs to check a large list of values to set the conditional path for a data entry script. This list of values that I have is around 6000 entries. My data entry fields will pass a value, example "1234" and I need to search for the numeric code assigned to "1234" in the excel spreadsheet and bring the value "2" back. Then the next record is read in and the value "2222" needs to be looked up and the numeric code "3" attached to it needs to be returned.
input record
1 1234
2 2222
3 3232
spreadsheet
1234 2
2222 3
If ReturnVal = 2 Then
.transmitString "X"
ElseIf ReturnVal = 3 Then
.transmitString "Y"
I hope someone can help, please!
I am a newbie and have a macro that needs to check a large list of values to set the conditional path for a data entry script. This list of values that I have is around 6000 entries. My data entry fields will pass a value, example "1234" and I need to search for the numeric code assigned to "1234" in the excel spreadsheet and bring the value "2" back. Then the next record is read in and the value "2222" needs to be looked up and the numeric code "3" attached to it needs to be returned.
input record
1 1234
2 2222
3 3232
spreadsheet
1234 2
2222 3
If ReturnVal = 2 Then
.transmitString "X"
ElseIf ReturnVal = 3 Then
.transmitString "Y"
I hope someone can help, please!