Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
So you search for LETTER or something more specific?for 10 diff letters and any number of accts.
Sub Main
Dim Sys As Object, Sess As Object, MyArea As Object
Set Sys = CreateObject("EXTRA.System")
Set Sess = Sys.ActiveSession
Set Sess = Sess.Screen
dim s(1 to 4) as String
s(1) = "AAA"
s(2) = "BBB"
s(3) = "CCC"
s(4) = "LETTER1"
'define For Excel data here
'find the first acct
Do
for x = 1 to 4
Sess.MoveTo 1, 1
mydat = s(x)
Set MyArea = sess.Search(mydat,10)
sess.MoveTo MyArea.Bottom, MyArea.Left
MyRw = sess.Row
MyCol = sess.Col
if MyRw <> 1 or MyCol <> 1 then
msgbox mydat
FoundLtr = trim(sess.getstring (myRw, MyCol,60))
msgbox FoundLtr
'place FoundLtr into Excel here, then exit Do
exit Do
end if
next x
sess.sendkeys ("<pf8>")
Loop 'Until No More Notes
'need next statement here to go to next acct
End Sub