Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting a macro via automation
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01286200
Message ID:
01286517
Views:
17
Hi, Kevin.

Try to remove all "As..." in "Local" statement.
I can't check my code right now with VFP versions earlier than
VFP 9.0 because I haven't earlier VFP installed on my PC at my workplace.


>Hello again,
>
>For this line I am getting an error.
>
>Local ;
> loExcelApp As excel.Application, ;
> loVBProject As vbide.VBProject, ;
> loVBComponent As vbide.VBComponent
>
>The error is "Error Number: 1225
>Error: Must be a variable or array."
>
>Is this code only good in VFP higher than vfp6?
>
>Kevin
Previous
Reply
Map
View

Click here to load this message in the networking platform