Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel MsgBox
Message
De
16/07/2004 16:40:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00925335
Message ID:
00925350
Vues:
16
>How can I use vfp via Excel to send a message using MsgBox. I have looked in t
>he Object Viewer in Visual Basic under MsgBox, and see that it comes under
>Interaction.MsgBox
>But when I do the following,
>o = GETOBJECT(,'excel.application')
>and type
>o.
>I don't see anything like Interaction or MsgBox listed in intellisense, and this
>does not work.
>o.Interaction.msgbox("hh")
>
>Thanks
>Steve

If you're not seeing any Intellisense on your "o" object, then it sounds like your Excel installation is faulty. Try re-installing Excel. Since you're using GetObject, a copy of Excel is already running, right?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform