--- oovbaapi/org/openoffice/excel/XPivotTables.idl	
+++ oovbaapi/org/openoffice/excel/XPivotTables.idl
@@ -5,13 +5,19 @@
 #include <com/sun/star/uno/XInterface.idl>
 #endif
 
+#ifndef __org_openoffice_vba_XCollection_idl__
+#include <org/openoffice/vba/XCollection.idl>
+#endif
+
 //=============================================================================
 
 module org {  module openoffice {  module excel { 
 
 //=============================================================================
-interface XPivotTables: ::com::sun::star::uno::XInterface
+interface XPivotTables
 {
+
+	interface org::openoffice::vba::XCollection;
 	// PivotCache should be a PivotCache object ( but thats not defined
 	// yet )
 	//XPivotTable Add( [in] any PivotCache, [in] any TableDestination, [in] any TableName, [in] any ReadData );
