LOCAL oTLB_INFO, oConstants, lcConstantsStr, Obj, member #DEFINE CRLF CHR(13) + CHR(10) oTLB_INFO = CREATEOBJECT([tli.typelibinfo]) oTLB_INFO.ContainingFile = (THISFORM.txtolbfile.VALUE) oConstants = oTLB_INFO.Constants lcConstantsStr = [] FOR EACH Obj IN oTLB_INFO.Constants lcConstantsStr = lcConstantsStr + CRLF + "* " + Obj.Name + CRLF FOR EACH member IN Obj.Members lcConstantsStr = lcConstantsStr + [#DEFINE ] + ; member.NAME + [ ] + ; TRANSFORM(member.VALUE) + CRLF NEXT member NEXT Obj> I need to use Word & Excel Ole Automation in VFP for various reasons. I have been successful in getting certain basics working more by hacking and looking at the VB code generated for test Macros. Yet I need to know where to find the values of the various constants used in the VB examples.