Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word - VBA Automation
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00468404
Message ID:
00468703
Views:
16
>
>  lcTemp = oRef.Name && If word doesn't exist anymore, this will set llError to .t.
>
>Or, you can do
>
IF TYPE("oRef.Name") = "C"
>   && Still got Word
>ENDif
>instead.


Yes,

that also works.
I've tried that with vartype(oRef.name) but that didn't work.
Type('oRef.Name')='C' works.

Sorry,
Previous
Reply
Map
View

Click here to load this message in the networking platform