Files
004_comission/armandarmand/task1/task1-ticket1/helloworld/browser/hello-etnet/ReadStockCode.bas
louiscklaw ce9a4aa9b3 update,
2025-01-31 19:27:58 +08:00

24 lines
367 B
QBasic

Attribute VB_Name = "ReadStockCode"
Option Explicit
Function run(row As Integer)
On Error GoTo eh
Dim temp As String
temp = Worksheets(TARGET_SHEET).Range(COL_STOCK_CODE & CStr(row)).Value
If (temp = "") Then
temp = -1
End If
run = temp
Done:
Exit Function
eh:
Debug.Print "ReadStockCode"
Debug.Print row
Debug.Print temp
End Function