Syntaxe rechercheV en VBA
wil_2638
-
Patrice33740 Messages postés 8400 Date d'inscription Statut Membre Dernière intervention -
Patrice33740 Messages postés 8400 Date d'inscription Statut Membre Dernière intervention -
Bonjour
je cherche à faire une recherche V via VBA
j'ai utilisé le code ci-dessous mais cela ne fonctionne pas
Sub TEST()
Dim Resultat As Variant
Worksheets("Feuille1").Columns("F:F").Select
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Resultat = Application.VLookup(Worksheets("Feuille1").Range("E2"), Worksheets("table_B").Range("$C:$E"), 3, False)
end sub
pouvez vous m'aider
je cherche à faire une recherche V via VBA
j'ai utilisé le code ci-dessous mais cela ne fonctionne pas
Sub TEST()
Dim Resultat As Variant
Worksheets("Feuille1").Columns("F:F").Select
Selection.Insert Shift:=xlToRight, CopyOrigin:=xlFormatFromLeftOrAbove
Resultat = Application.VLookup(Worksheets("Feuille1").Range("E2"), Worksheets("table_B").Range("$C:$E"), 3, False)
end sub
pouvez vous m'aider
A voir également:
- Syntaxe rechercheV en VBA
- Dépassement de capacité vba ✓ - <a href="https://forums.commentcamarche.net/forum/excel-145">Forum Excel</a>
- L'indice n'appartient pas à la sélection vba - <a href="https://forums.commentcamarche.net/forum/vb-vba-267">Forum VB / VBA</a>
- Incompatibilité de type vba ✓ - <a href="https://forums.commentcamarche.net/forum/programmation-3">Forum Programmation</a>
- Recherchev somme plusieurs lignes - <a href="https://forums.commentcamarche.net/forum/excel-145">Forum Excel</a>
- Recherchev contient ✓ - <a href="https://forums.commentcamarche.net/forum/excel-145">Forum Excel</a>