dbTalk Databases Forums  

How to Refresh pivot table from activeX

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss How to Refresh pivot table from activeX in the microsoft.public.sqlserver.dts forum.



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

Default How to Refresh pivot table from activeX - 11-28-2006 , 06:44 PM






Hi,

I am exporting data to a worksheet "Data". The worksheet "Result" is based
on the worksheet "Data", and has a pivot table.

When my users open the workbook, the pivot table gets refreshed which
changes the state of the file to "modified". When they close the workbook,
they get a message "do you want to save the changes you have made?".

I think this message can be avoided if I can refresh the pivot table from
within the activex. How can I refresh the pivot table from the activex task?


--
Black Bird

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: How to Refresh pivot table from activeX - 11-29-2006 , 04:08 PM






Hello Black,

You could probably call into the Excel object model to do this. If you have
a Google no doubt you could find some code to do it.


http://groups.google.co.uk/groups?q=...-a&sa=N&tab=wg

Remember MS do not support Office automation unattended.

Regards

Allan Mitchell
Konesans Ltd
T +44 7966 476 572
F +44 2071 008 479
http://www.konesans.com

Quote:
Hi,

I am exporting data to a worksheet "Data". The worksheet "Result" is
based on the worksheet "Data", and has a pivot table.

When my users open the workbook, the pivot table gets refreshed which
changes the state of the file to "modified". When they close the
workbook, they get a message "do you want to save the changes you have
made?".

I think this message can be avoided if I can refresh the pivot table
from within the activex. How can I refresh the pivot table from the
activex task?




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.