Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Series Number when Create Chart

I recorded a macro to create a line chart for my future chart creation. The
macro automatically gives a series number of the chart
e.g. ActiveSheet.Shapes(€śChart 8€ť).xxx
based on how many charts created on the same sheet in the past, even though
the previous charts are all deleted.

- How can I know the series number for the chart I am to create?
- Can I get around this series number and have a customized name for the
chart, so that I can work with it?

This series number problem is true for adding a sheet. I need to know the
series number before I can change the name of the sheet.

e.g.
Sheets.Add
Sheets("Sheet1").Select
Sheets("Sheet1").Name = "NewName"

If a previous Sheet1 was deleted, then it would be €śSheet2€ť. How can I know
which number it is?

Any help is greatly appreciated!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Series Number when Create Chart

I would think you could right click on the chart and then click view code.
It should then display the properties window which would show the name of the
chart.

"Shiji Shen" wrote:

I recorded a macro to create a line chart for my future chart creation. The
macro automatically gives a series number of the chart
e.g. ActiveSheet.Shapes(€śChart 8€ť).xxx
based on how many charts created on the same sheet in the past, even though
the previous charts are all deleted.

- How can I know the series number for the chart I am to create?
- Can I get around this series number and have a customized name for the
chart, so that I can work with it?

This series number problem is true for adding a sheet. I need to know the
series number before I can change the name of the sheet.

e.g.
Sheets.Add
Sheets("Sheet1").Select
Sheets("Sheet1").Name = "NewName"

If a previous Sheet1 was deleted, then it would be €śSheet2€ť. How can I know
which number it is?

Any help is greatly appreciated!

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 do I create a function that counts number of cells in a series Demosthenes Excel Worksheet Functions 3 August 3rd 09 05:22 PM
User Selectable Series and Number of Series for Line Chart Dave in NJ Charts and Charting in Excel 2 February 23rd 09 12:18 AM
How do I create Multiple Series in a Bubble Chart? Kojones Charts and Charting in Excel 2 July 25th 08 01:52 PM
Create XY (Scatter) Chart, with 3 column (X, Y, Series) Ilka Charts and Charting in Excel 1 October 18th 07 05:19 PM
create chart from series grouped by value in another column HarCo Charts and Charting in Excel 2 August 28th 05 01:53 AM


All times are GMT +1. The time now is 11:23 AM.

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

About Us

"It's about Microsoft Excel"