Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need help executing an Excel Macro from VFP5.0
Message
De
21/12/1998 16:44:10
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00145895
Message ID:
00169473
Vues:
31
Gary,
Try
oExcel.Application.Run("Chart_macros.xlm!DisplayChartForm")

I know it works from an open workbook.
J.D.

>I am trying to execute an Excel macro by using the following line of code >(based upon Visual Basic's help on the
> Run command):

> oDatExlMacro = oExcel.Run("Chart_Macros.xlm!DisplayChartForm")

> I get the following error when this line of code is executed:

OLE lDispatch exception code 0 from Microsoft Excel: ?...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform