I write the macro on an excel worksheet and then copy and paste into my macro button in IBM. I only use one worksheet to copy and paste from. Below is the screen that I am writing the macro for. I have tried to upload my spreadsheet that has the macro into DropBox however it keeps saying that it doesn't support my browser and I have the most updated browser so I am at a lose for what to do. So I paste the macro below that image.
counter = 0
For Each Element In myarray
.WaitForEvent rcEnterPos, "30", "0", 4, 19
TransmitANSI Element
.TransmitTerminalKey rcIBMTabKey
.TransmitTerminalKey rcIBMTabKey
.TransmitTerminalKey rcIBMTabKey
.TransmitTerminalKey rcIBMTabKey
.WaitForEvent rcEnterPos, "30", "0", 7, 32
TransmitANSI myarray2(counter)
.TransmitTerminalKey rcIBMTabKey
.WaitForEvent rcEnterPos, "30", "0", 7, 60
TransmitANSI myarray3(counter)
.SetMousePos 14, 19: TerminalMouse rcLeftClick, rcMouseRow, rcMouseCol
.WaitForEvent rcEnterPos, "30", "0", 14, 19
TransmitANSI myarray4(counter)
.TransmitTerminalKey rcIBMFieldExitKey
.WaitForEvent rcEnterPos, "30", "0", 14, 31
TransmitANSI myarray5(counter)
.TransmitTerminalKey rcIBMTabKey
.WaitForEvent rcEnterPos, "30", "0", 15, 19
TransmitANSI myarray7(counter)
.TransmitTerminalKey rcIBMTabKey
.WaitForEvent rcEnterPos, "30", "0", 16, 19
TransmitANSI myarray8(counter)
.WaitForEvent rcEnterPos, "30", "0", 16, 25
.TransmitTerminalKey rcIBMFieldExitKey
.TransmitTerminalKey rcIBMEnterKey
.SetMousePos 24, 2: TerminalMouse rcLeftClick, rcMouseRow, rcMouseCol: mystring = GetFieldText(24, 2, 4)
.WaitForEvent rcEnterPos, "30", "0", 24, 2
If mystring = "Lane" Then
MsgBox ("REVIEW DUPLICATE")
Else
.TransmitTerminalKey rcIBMF5Key
End If
counter = counter + 1
Next Element
Thank you,
Christina