Hi,
I modified the following coding from skip in post viewthread.cfm?qid=1281018, which works great.
Now I have a different question/problem:
If C,D,M or V appears in Column 4 at the same time AD,AB,AE or ZZ appear, then I do not want <PF5>(update). I want it to go to the next record.
Is there any way to modify this coding?
thanks
zach
I modified the following coding from skip in post viewthread.cfm?qid=1281018, which works great.
Now I have a different question/problem:
If C,D,M or V appears in Column 4 at the same time AD,AB,AE or ZZ appear, then I do not want <PF5>(update). I want it to go to the next record.
Is there any way to modify this coding?
Code:
Sub TestRow()
For x = 9 To 17
Select Case Sess0.Screen.GetString(x, 4, 2)
Case "C ", "D ", "M ", "V ", "AD", "AB", "AE", "ZZ"
If Sess0.Screen.GetString(x, 34, 7) <> "NNNNNNN" Then
Sess0.Screen.PutString "NNNNNNN", x, 34
Sess0.Screen.PutString "N", 3, 58
Sess0.Screen.SendKeys ("<PF5>")'UPDATE
Sess0.Screen.WaitHostQuiet (1000)
End If
End Select
Next x
End Sub
thanks
zach