CODE
Sub Scrape()
Olesetup
x% = ExtraObj.OleSendKey(handle, "@C") '--- Clear Extra Screen ---'
x% = ExtraObj.CheckClockStatus(handle) '--- Send screen name to Extra ---'
x% = ExtraObj.OleSendKey(handle, "itmsls 09/829/00103@E")
x% = ExtraObj.CheckClockStatus(handle)
'x% = ExtraObj.OleSendKey(handle, "@t")
'x% = ExtraObj.OleSendKey(handle, ID)
'x% = ExtraObj.OleSendKey(handle, "@e")
'x% = ExtraObj.CheckClockStatus(handle)
For index% = 6 To 19 '--- get screen start ---'
scrapedata$(index%) = ExtraObj.OleGetString(handle, index%, 1, 80)
ActiveCell.Value = scrapedata$(index%)
ActiveCell.Offset(1, 0).Select
Next index
x% = ExtraObj.OleSendKey(handle, "@e")
x% = ExtraObj.CheckClockStatus(handle)
'CurrLine = scrapedata$(1) '--- get screen end ---'
Shutdown
End Sub
how can I input a code here that would make sure that it doesnt allow any negative numbers to come thru