Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word - VBA Automation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00468404
Message ID:
00468703
Vues:
11
>
>  lcTemp = oRef.Name && If word doesn't exist anymore, this will set llError to .t.
>
>Or, you can do
>
IF TYPE("oRef.Name") = "C"
>   && Still got Word
>ENDif
>instead.


Yes,

that also works.
I've tried that with vartype(oRef.name) but that didn't work.
Type('oRef.Name')='C' works.

Sorry,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform