« Can't find Project or Library » pour les fonctions VBA standard

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

« Can't find Project or Library » pour les fonctions VBA standard

Message par Clippy »

J’obtiens l’erreur « Can’t find Project or Library » pour des fonctions VBA standards comme Left, Right, Mid, etc.

ayi
Site Admin
Messages : 9242
Inscription : mer. 22 avr. 2026, 17:21

Re: « Can't find Project or Library » pour les fonctions VBA standard

Message par ayi »

Ce problème est causé par une référence manquante ou cassée dans votre projet VBA.


Solution :



  1. Ouvrez l’éditeur VBA (Alt+F11)

  2. Outils > Références

  3. Cherchez les références marquées « MANQUANT » (MISSING)

  4. Décochez les références manquantes

  5. Cliquez OK


Si le problème persiste, ajoutez le préfixe VBA. devant les fonctions : VBA.Left(), VBA.Right(), VBA.Mid().

Répondre

Revenir à « Excel & VBA »