Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a better way .... ?
Message
De
13/09/2002 08:06:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00700028
Message ID:
00700113
Vues:
11
>I have used the solution below to open an excel spreadsheet, disabling the macros.
>

I'm assuming the problem is that a dialog appears that needs a response. Use:

loExcel.DisplayAlerts = .F.

to prevent the dialog.


As for macros, when you open a workbook by automation, the Auto macros (like AutoOpen) don't fire. So you needn't worry about infecting a machine by having a macro run when you open a workbook.

I'm not sure how to disable the macros, though.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform