I've searched this forum and found some common difficulties with this error, the problem is most posts are talking about dynamicly created arrays....don't think mine is.
My array is set like this:
Public Const AcctSub = 0
ReDim Trans(0, 8) As String
Dim Counter as long
Counter = 6
Trans(Counter, AcctSub) = 3 <---xxx ERROR ON THIS LINE
The problem is this code is from another company we purchased code from and they charge for tech support. I'm learning vba but not familiar with arrays
Any clue why it works on some records and not others???
My array is set like this:
Public Const AcctSub = 0
ReDim Trans(0, 8) As String
Dim Counter as long
Counter = 6
Trans(Counter, AcctSub) = 3 <---xxx ERROR ON THIS LINE
The problem is this code is from another company we purchased code from and they charge for tech support. I'm learning vba but not familiar with arrays
Any clue why it works on some records and not others???