Hi All
I am try to automate a task at work, we use a program called Millman Reflection for UNIX. It used VBS etc for macros.
In this I have this screenshot:
As you see there are three columns, I want to change the letter in the middle column depending on the data in the left and right columns, here is my draft code so far:
My question is what can I put inside the **xyz** above, to get the script to check whats in the columns to the left and right of the middle column?
In excel this would be easy using the INDIRECT("RC[-1]",0) formulas but that doesnt work here?
Thanks in advance
I am try to automate a task at work, we use a program called Millman Reflection for UNIX. It used VBS etc for macros.
In this I have this screenshot:
As you see there are three columns, I want to change the letter in the middle column depending on the data in the left and right columns, here is my draft code so far:
Code:
Dim COO
COO = InputBox("Enter in origin that qualifies for duty free")
If **FIELD TO THE LEFT** = COO And **FIELD TO THE RIGHT** > 0
.Transmit "Q"
Else
.Transmit "N"
End If
My question is what can I put inside the **xyz** above, to get the script to check whats in the columns to the left and right of the middle column?
In excel this would be easy using the INDIRECT("RC[-1]",0) formulas but that doesnt work here?
Thanks in advance