This commit is contained in:
louiscklaw
2025-01-31 19:27:58 +08:00
parent 9476a736d3
commit ce9a4aa9b3
313 changed files with 6340 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
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