Advertisement
Vadorequest

Untitled

Oct 2nd, 2013
83
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. Dim b As Integer
  7.  
  8.  
  9. TB1 = Range("Plage").Value
  10. TB2 = Range("Plage_comp").Value
  11. b = 0
  12.  
  13.     For i = LBound(TB1, 1) To UBound(TB1, 1)
  14.         For j = LBound(TB1, 2) To UBound(TB1, 2)
  15.             V1(b) = TB1(i, j)
  16.             MsgBox (V1(b))
  17.             b = b + 1
  18.         Next
  19.     Next
  20.  
  21.     b = 0
  22.                
  23.     For k = LBound(TB2, 1) To UBound(TB2, 1)
  24.         For l = LBound(TB2, 2) To UBound(TB2, 2)
  25.             V2(b) = TB2(k, l)
  26.             'MsgBox (V2(b))'
  27.            b = b + 1
  28.         Next
  29.     Next
  30.    
  31.     'Et après ici je voudrais pouvoir utiliser mon tableau V1 et V2 pour les comparer case par case'
  32.  
  33. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement