How do I reference Chart Sheets?

Questions and answers on how to use XLSReadWriteII 3/4/5.
Post Reply
John_M
Posts: 1
Joined: Tue Feb 21, 2006 12:46 pm
Location: Scotland

How do I reference Chart Sheets?

Post by John_M »

I am working with a workbook with 3 normal worksheets and one chart sheet (a chart that is not embedded in a worksheet).

How can I reference the Chart sheet? XLS.Sheets.Count = 3 (the number of normal worksheets). For an embedded Chart, you can use the Charts property of TSheet, but this won't work for a Chart sheet.

I would like to make the workbook select only the Chart sheet tab so that the Chart is shown when the workbook is opened in Excel, but I can't do this using XLS.Workbook.SelectedTab, which only seems to recognize normal worksheets.
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Post by larsa »

Hello

For the moment it's not possible to set the selected tab for (sheet) charts.


Lars Arvidsson
Post Reply