Advertisement
Vadorequest

Untitled

Oct 2nd, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Sub Test_plage_tab()
  2.  
  3.  
  4. Dim V2(30) As String
  5. Dim V1(30) As String
  6.  
  7. TB1 = Range("Plage").Value
  8. TB2 = Range("Plage_comp").Value
  9. b = 0
  10.  
  11.  
  12.     For i = LBound(TB1, 1) To UBound(TB1, 1)
  13.         For j = LBound(TB1, 2) To UBound(TB1, 2)
  14.             V1(b) = TB1(i, j)
  15.             MsgBox (V1(b))
  16.             b++
  17.         Next
  18.     Next
  19.    
  20.     MsgBox (V1(b))
  21.     b = 0
  22.     For k = LBound(TB2, 1) To UBound(TB2, 1)
  23.         For l = LBound(TB2, 2) To UBound(TB2, 2)
  24.             V2(b) = TB2(k, l)
  25.             MsgBox (V2(b))
  26.             b++
  27.         Next
  28.     Next
  29.  
  30. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement