Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need help executing an Excel Macro from VFP5.0
Message
From
21/12/1998 16:44:10
 
 
To
12/10/1998 10:13:19
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00145895
Message ID:
00169473
Views:
24
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: ?...
Previous
Reply
Map
View

Click here to load this message in the networking platform