Visual Basic for Application
Word 编程
Excel 编程
Access 编程
AutoCAD 编程
FrontPage 编程
对象库引用
判断对象是否有效(WORD 中)
TypeName
if TypeName(var)="Field" then 无效
isObjectValid
if isObjectValid(var)=false then 无效
is
if not(var is nothing) then 有效