Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can someone tell what the .Type Property means for a Reference object in a VB
Project? See example below. I get a Type of 0 for all my references. Sub VBERefList() Dim chkRef As Reference Dim vbProj As VBProject Set vbProj = ThisWorkbook.VBProject For Each chkRef In vbProj.References Debug.Print chkRef.Type Next End Sub Thanks EM |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
0: vbext_rk_TypeLib
1: vbext_rk_Project A ref to an app with a type library or to another VBProject Regards, Peter T "Excel Monkey" wrote in message ... Can someone tell what the .Type Property means for a Reference object in a VB Project? See example below. I get a Type of 0 for all my references. Sub VBERefList() Dim chkRef As Reference Dim vbProj As VBProject Set vbProj = ThisWorkbook.VBProject For Each chkRef In vbProj.References Debug.Print chkRef.Type Next End Sub Thanks EM |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
So its Typelib for DLLs? What is Project for?
Thanks EM "Peter T" wrote: 0: vbext_rk_TypeLib 1: vbext_rk_Project A ref to an app with a type library or to another VBProject Regards, Peter T "Excel Monkey" wrote in message ... Can someone tell what the .Type Property means for a Reference object in a VB Project? See example below. I get a Type of 0 for all my references. Sub VBERefList() Dim chkRef As Reference Dim vbProj As VBProject Set vbProj = ThisWorkbook.VBProject For Each chkRef In vbProj.References Debug.Print chkRef.Type Next End Sub Thanks EM |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
"Object doesn't support this property or method" in Excel 2003 | Excel Discussion (Misc queries) | |||
"application.filesearch" object doesn't support the this property or method | Excel Programming | |||
VBA error: "object doesn't support this property or method" | Excel Discussion (Misc queries) | |||
Why "object doesn't suppor this property or method"? | Excel Programming | |||
"Select Column method or property not available because some/all of object doesn't refer to table" | Excel Programming |