multidimensional array

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

What am I doing wrong?

For lfor = LBound(Merch(lfor, 0)) To UBound(Merch(lfor, 1))
Merch(lfor, 0) = Cells(lfor, 1)
Merch(lfor, 1) = Cells(lfor, 2)
Next lfor
 
i = 1
For lfor = LBound(Merch, 1) To UBound(Merch, 1)
Merch(lfor, 0) = Cells(i, 1)
Merch(lfor, 1) = Cells(i, 2)
i = i + 1
Next lfor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top