dbTalk Databases Forums  

Writeback using Excel - compile error

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Writeback using Excel - compile error in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Juraj
 
Posts: n/a

Default Writeback using Excel - compile error - 06-08-2004 , 04:16 AM






Hi

I would like to use Excel as a interface for writing values to our budgeting cube. I am using examples from www.mosha.com and microsoft KB. The interface is working fine with Office XP but when I use the writeback sheet on office 2000 I get compile error "user-type not defined". I've investigated the project references and I guess the problem is there. In fact I was getting the same error on Office XP until I ve included ADO 2.8 library in the project. I ve included ADO 2.8 also in Office 2000 and I get the same error.

Project references used on Office X
1.VB
2.Excel 10 object librar
3.Office 10 object librar
4.Microsoft ActiveX Data Objects 2.
5.OLE Automatio

Project references used on Office 200
Excel 9.0 object librar
Office 9.0 object librar
Rest is the same as on XP machine

Here is the piece of code on which I get the error: (whole macro can be found at www.mosha.com

Sub Writeback(pcell As PivotCell, newval As Double)

Thanks in advance for your suggestion

Jura


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.