Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find in Excel.
Message
 
À
15/02/2001 09:03:06
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00475826
Message ID:
00476317
Vues:
38
>Thank you,
>I have change the code as
>Fc = oExcel.Worksheets("Sheet2").Columns("A").Find("100")
>After searching i have do this.
>IF FC = .NULL.
> .....
>ENDIF
>Fc return .null. but the if endif statement does not work.
>Why

A comparision of any variable to .NULL. returns .NULL., which is not .T. or .F., so the IF statement fails. Try this, instead:
IF ISNULL(FC)
  ...
ENDIF
- della
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform