Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel MsgBox
Message
From
16/07/2004 16:40:50
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00925335
Message ID:
00925350
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform