Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Guideline for using foxobject in FOR EACH
Message
De
23/09/2019 13:49:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Guideline for using foxobject in FOR EACH
Divers
Thread ID:
01671042
Message ID:
01671042
Vues:
100
Hi all,

I have a loop that is used for processing the worksheets in a workbook:
FOR EACH loWorksheet IN loWorkbook.Sheets
I am getting occasional errors showing up in the logs saying property SHEETS cannot be found.

I vaguely remember using the keyword FOXOBJECT a few other times but cannot remember if I should be using it or not when having a link to Excel. And help file does not tell me enough either. Should I always use it when referencing an Excel object? In this case, I am changing a setting on each worksheet (document protection settings) if that makes a difference.

Thanks,
Albert
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform