Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi folks,
I have an application that generates spreadsheets. It is developed in VB.NET 2003 and works well on XP with Excel 2003. Have tried to deploy this on Windows Server 2000 with Excel 2000 only to get an error 'The parameter is incorrect'. This error occurs on the follwing line: ourPivotCache = xlApp.ActiveWorkbook.PivotCaches.Add(SourceType:=x lDatabase, SourceData:=rngData) I don't think there is anything wrong with this line, bear in mind this app works perfectly on XP against Excel 2003. Now.. in an effort to fix this problem, I went and built this app on the Windows 2000 server with VS .NET 2003 having changed the reference to the Excel 9 library. Still no luck. One thing worth noting here is that if I invoke Excel 2000 manually, a message box appears with 'Cannot use object linking and embedding'. Is this something to do with the problem, I don't know. Anyone any ideas? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I use a cell value as a parameter | Excel Worksheet Functions | |||
How to choose if I use a parameter or not in a parameter query | Excel Discussion (Misc queries) | |||
Collection as parameter | Excel Programming | |||
parameter problem | Excel Programming | |||
Parameter description | Excel Worksheet Functions |