How to hide excel when changing the chart data through program

D

Deepak

Hello

I am using Office 2007 SP2. I am changing chart data using code.
shape.Chart.ChartData.Activate();
newWorkbook = shape.Chart.ChartData.Workbook as
MSExcel.Workbook;
targetSheet = (MSExcel.Worksheet)(newWorkbook.Worksheets[1]);
.....//Code to chage the data

it is working fine but only issue is: it is opening excel and chaging the
data.

Is there any way i can hide the excel and change the data in background?

Thanks
Deepak
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top