Bonsoir,

Je ne comprend pas pourquoi VBA plante alors que il lui est demandé de passer à la ligne suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 
 
sub test()
    dim ....
 
     scleligne = "Tintin"
     ' le tableau structuré nommé Tintin n'existe pas
 
     on error resume next
     Set oList = Range(scleLigne).ListObject
 
     if olist is nothing then
         msgbox ("Tableau structuré inexistant")
     end if
 
end sub
Nom : Capture.PNG
Affichages : 261
Taille : 4,3 Ko