Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Displaying Excel chart in C# application

Hi,

I've read (and tried) the article "How To Automate Microsoft Excel from
Microsoft Visual C# .NET" (available at
http://support.microsoft.com/default.aspx?kbid=302084). This opens up Excel,
fills in a spreadsheet with numbers, and creates a chart in the spreadsheet
from the data.

Is there a way to do that, but insted of showing the chart in Excel, never
have the Excel window show up and just show the excel chart within my
application?

Thanks
JT


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Displaying Excel chart in C# application

JT -

I haven't caught the .Net craze yet, and until my musician daughter
recently corrected me, I thought C# was pronounced "cee-pound". But here
are a couple thoughts anyway.

I imagine you could insert an OLE object in your app that contained an
Excel workbook object, with the chart showing in front of the rest of
the workbook. This is basically what happens when you paste an Excel
chart into another Office application.

Alternative approaches include using the OWC chart in your app, or
another of the numerous chart controls.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

JT wrote:

Hi,

I've read (and tried) the article "How To Automate Microsoft Excel from
Microsoft Visual C# .NET" (available at
http://support.microsoft.com/default.aspx?kbid=302084). This opens up Excel,
fills in a spreadsheet with numbers, and creates a chart in the spreadsheet
from the data.

Is there a way to do that, but insted of showing the chart in Excel, never
have the Excel window show up and just show the excel chart within my
application?

Thanks
JT



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I post values in excel chart without displaying the colum. Noa Charts and Charting in Excel 5 January 18th 08 02:17 PM
not displaying pie chart in excel 2007 Michael Charts and Charting in Excel 0 October 26th 07 07:51 PM
Displaying MS Excel Chart control in ASP.NET Application oursmp Charts and Charting in Excel 0 April 20th 05 04:17 PM
Linked Excel Chart within hidden Word Application Visible Obi-Too Excel Programming 0 June 23rd 04 03:58 PM
Displaying a specific worksheet on opening application John Excel Programming 1 February 19th 04 12:27 PM


All times are GMT +1. The time now is 03:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"