southpaw81
Programmer
This is my second post today, I am on a roll. This program I am coding is just massive, and I dont know if I just lost my nerve or skill or both.
I need to tell Extra - that if you see an X in row 3 col 1 on my spreadsheet, then do this. Then search for an X in row 4 col 1 and repeat until their is no more X
----------
Here is what I have so far:
If objWorkbook.Worksheets("Sheet1").Cells(3,1) = "X" then
Sess0.Screen.Row 12
Sess0.Screen.Col 02
Sess0.Screen.Sendkeys("A")
result = objWorkBook.WorkSheets("Sheet1").Cells(3,11).Value
Sess0.Screen.PutString result, 12, 07
Sess0.Screen.Sendkeys("<Enter>")
Sess0.Screen.WaitHostQuiet(g_HostSettleTime)
Sess0.Screen.Row 11
Sess0.Screen.Col 18
Sess0.Screen.Sendkeys("SPLK")
Sess0.Screen.Sendkeys("<Enter>")
Sess0.Screen.WaitHostQuiet(g_HostSettleTime)
If Sess0.Screen.Area( 01, 02, 01, 07, , xBlock) = "Product" then
Sess0.Screen.Row 11
Sess0.Screen.Col 18
Sess0.Screen.Sendkeys("<EraseEOF>MATRL")
End If
Sess0.Screen.Sendkeys("<Enter>")
If Sess0.Screen.Area( 01, 02, 01, 07, , xBlock) = "Product" then
Sess0.Screen.Row 11
Sess0.Screen.Col 18
Sess0.Screen.Sendkeys("<EraseEOF>SRVC")
End If
Sess0.Screen.Sendkeys("<Enter>")
If Sess0.Screen.Area( 01, 02, 01, 07, , xBlock) = "Product" then
Sess0.Screen.Row 11
Sess0.Screen.Col 18
Sess0.Screen.Sendkeys("<EraseEOF>CLEI")
End If
Sess0.Screen.Sendkeys("<Enter>")
End If
Sess0.Screen.Sendkeys("<PF7>")
I need to tell Extra - that if you see an X in row 3 col 1 on my spreadsheet, then do this. Then search for an X in row 4 col 1 and repeat until their is no more X
----------
Here is what I have so far:
If objWorkbook.Worksheets("Sheet1").Cells(3,1) = "X" then
Sess0.Screen.Row 12
Sess0.Screen.Col 02
Sess0.Screen.Sendkeys("A")
result = objWorkBook.WorkSheets("Sheet1").Cells(3,11).Value
Sess0.Screen.PutString result, 12, 07
Sess0.Screen.Sendkeys("<Enter>")
Sess0.Screen.WaitHostQuiet(g_HostSettleTime)
Sess0.Screen.Row 11
Sess0.Screen.Col 18
Sess0.Screen.Sendkeys("SPLK")
Sess0.Screen.Sendkeys("<Enter>")
Sess0.Screen.WaitHostQuiet(g_HostSettleTime)
If Sess0.Screen.Area( 01, 02, 01, 07, , xBlock) = "Product" then
Sess0.Screen.Row 11
Sess0.Screen.Col 18
Sess0.Screen.Sendkeys("<EraseEOF>MATRL")
End If
Sess0.Screen.Sendkeys("<Enter>")
If Sess0.Screen.Area( 01, 02, 01, 07, , xBlock) = "Product" then
Sess0.Screen.Row 11
Sess0.Screen.Col 18
Sess0.Screen.Sendkeys("<EraseEOF>SRVC")
End If
Sess0.Screen.Sendkeys("<Enter>")
If Sess0.Screen.Area( 01, 02, 01, 07, , xBlock) = "Product" then
Sess0.Screen.Row 11
Sess0.Screen.Col 18
Sess0.Screen.Sendkeys("<EraseEOF>CLEI")
End If
Sess0.Screen.Sendkeys("<Enter>")
End If
Sess0.Screen.Sendkeys("<PF7>")