Incompatiblité de type avec If
Fermé
alikan
-
14 juin 2016 à 16:22
thev Messages postés 1965 Date d'inscription lundi 7 avril 2008 Statut Membre Dernière intervention 3 mars 2025 - 14 juin 2016 à 17:09
thev Messages postés 1965 Date d'inscription lundi 7 avril 2008 Statut Membre Dernière intervention 3 mars 2025 - 14 juin 2016 à 17:09
A voir également:
- Incompatiblité de type avec If
- Clear type - Guide
- Changer le type de fichier - Guide
- Type de ram - Guide
- Incompatibilité de type vba ✓ - Forum Excel
- Erreur exécution 13 : incompatibilité de type ✓ - Forum VB / VBA
2 réponses
thev
Messages postés
1965
Date d'inscription
lundi 7 avril 2008
Statut
Membre
Dernière intervention
3 mars 2025
708
Modifié par thev le 14/06/2016 à 16:35
Modifié par thev le 14/06/2016 à 16:35
Ton test est relatif à une variable objet. var est une variable chaîne.
Ceci devrait fonctionner :
if IsEmpty(var)
Ceci devrait fonctionner :
if IsEmpty(var)
thev
Messages postés
1965
Date d'inscription
lundi 7 avril 2008
Statut
Membre
Dernière intervention
3 mars 2025
708
Modifié par thev le 14/06/2016 à 17:10
Modifié par thev le 14/06/2016 à 17:10
Normal, car tu mets du code VBA dans ta fonction RECHERCHEV.
14 juin 2016 à 16:44
Il me dit Impossible de lire la propriété VLookUp de la classe WorksheetFunction