I have a button on a form which runs the following code and sends parameters to a VBA function.
I want to append the returned value to a table.
Sounds simple, but I cannot make it work.
HELP!
Dim Value(100) As Integer
Dim HcLoop As Integer
For HcLoop = 0 to 100
ReturnValue(HcLoop) = FunctionName(7, HcLoop, "001002003", "072048024")
‘Append ReturnValue(HcLoop) to a table
?
?
?
Next HcLoop
I want to append the returned value to a table.
Sounds simple, but I cannot make it work.
HELP!
Dim Value(100) As Integer
Dim HcLoop As Integer
For HcLoop = 0 to 100
ReturnValue(HcLoop) = FunctionName(7, HcLoop, "001002003", "072048024")
‘Append ReturnValue(HcLoop) to a table
?
?
?
Next HcLoop