Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declaring Variant Type Variable
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP2
Network:
Novell 4.x
Miscellaneous
Thread ID:
01063106
Message ID:
01063112
Views:
9
>>Greetings -
>>
>>I'm using automation to manipulate hyperlinks in an Excel document.
>>
>>Several arguments to the method I'm invoking expect variant type data. How do I declare and pass a variant type data in Foxpro?
>>
>>loCellToActivate( Anchor as Object, Address as String, [SubAddress as Variant], [ScreeTip as Variant], [TextToDisplay as Variant]) as Object
>
>No way. Pass it as a string.


Hi Borislav -
You are correct, I can pass it as a string. The argument I was passing was in the incorrect position. Thanks for your help.
Previous
Reply
Map
View

Click here to load this message in the networking platform