#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default Chart Window

I have a spreadsheet with six rows 2 to 7 and 12 columns B to M.

Row 2 contains the date. Rows 3 to 7 contains the data.

The data from the cells is used to display a chart on the worksheet.

What I would like to do is

1) have the chart to only appear on a window when a button is pressed
2) when the window appears there will be two boxes start date and end date.

When the start and end dates are typed in I would like the chart to only
show the points between the two dates. If the start date is not typed in then
the full range should be displayed automatically.

Could any one advise how this can be made to work, a step by step approach
would be appreciated as I am not a whizz with excel.

Many thanks and any help is appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Chart Window

If you adjust your configuration slightly, you could use this approach to
select which of several charts appears:

http://peltiertech.com/Excel/Charts/...eDropDown.html (use the Bring To
Front technique)

or this combo box approach to select a series to show in a single chart:

http://peltiertech.com/Excel/Charts/ChartByControl.html

Then use this for the date range:

http://pubs.logicalexpressions.com/P...cle.asp?ID=246

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


"zephyr" wrote in message
...
I have a spreadsheet with six rows 2 to 7 and 12 columns B to M.

Row 2 contains the date. Rows 3 to 7 contains the data.

The data from the cells is used to display a chart on the worksheet.

What I would like to do is

1) have the chart to only appear on a window when a button is pressed
2) when the window appears there will be two boxes start date and end
date.

When the start and end dates are typed in I would like the chart to only
show the points between the two dates. If the start date is not typed in
then
the full range should be displayed automatically.

Could any one advise how this can be made to work, a step by step approach
would be appreciated as I am not a whizz with excel.

Many thanks and any help is appreciated.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 36
Default Chart Window

Many thanks for your response. I was trying to hide the charts but I have
looked at the example and it is a good solution to my problem.

I have been trying to get the combo box to work on my application. The
example provided has one line on each graph. The graph that I have has six
lines.

The problem that I have is that I cannot get the table source data to link
to the combo box. On the example given the table source data reads:

=Chart Combo Box!$A5$A9,Chart Combo Box!$E5$E9

In my application the table source data reads:

=01 Sales!$I$159: $U$159, 01 Sales!$I$166: $U$176

01 Sales is the name of the worksheet, when I put in Chart Combo Box an
error message pops up. I have inserted the Chart Combo Box and tried
removing 01 Sales but the error message keeps on popping up. Is there a way
to link the chart to the combo box?

Many thanks


"Jon Peltier" wrote:

If you adjust your configuration slightly, you could use this approach to
select which of several charts appears:

http://peltiertech.com/Excel/Charts/...eDropDown.html (use the Bring To
Front technique)

or this combo box approach to select a series to show in a single chart:

http://peltiertech.com/Excel/Charts/ChartByControl.html

Then use this for the date range:

http://pubs.logicalexpressions.com/P...cle.asp?ID=246

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


"zephyr" wrote in message
...
I have a spreadsheet with six rows 2 to 7 and 12 columns B to M.

Row 2 contains the date. Rows 3 to 7 contains the data.

The data from the cells is used to display a chart on the worksheet.

What I would like to do is

1) have the chart to only appear on a window when a button is pressed
2) when the window appears there will be two boxes start date and end
date.

When the start and end dates are typed in I would like the chart to only
show the points between the two dates. If the start date is not typed in
then
the full range should be displayed automatically.

Could any one advise how this can be made to work, a step by step approach
would be appreciated as I am not a whizz with excel.

Many thanks and any help is appreciated.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default Chart Window

The chart does not link to the combo box. The chart always plots the data in
the tan shaded range:

='Chart By Combo Box'!$A$5:$A$9,'Chart By Combo Box'!$E$5:$E$9

'Chart By Combo Box is the sheet name, A5:A9 is the column of X values, and
E5:E9 is the column of Y values. You need to make this consistent with the
sheet name and cell addresses of your data.

The combobox' list source (the list of displayed entries) is in the green
range (H2:H4), while it is linked to the yellow cell (H1), which contains
the index of the selected item in the list. Formulas in E5:E9 make sure that
values from the appropriate column (B through D) are displayed in column E,
according to the index in cell H1.

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


"zephyr" wrote in message
...
Many thanks for your response. I was trying to hide the charts but I have
looked at the example and it is a good solution to my problem.

I have been trying to get the combo box to work on my application. The
example provided has one line on each graph. The graph that I have has six
lines.

The problem that I have is that I cannot get the table source data to link
to the combo box. On the example given the table source data reads:

='Chart Combo Box'!$A5$A9,'Chart Combo Box'!$E5$E9

In my application the table source data reads:

='01 Sales'!$I$159: $U$159, '01 Sales'!$I$166: $U$176

01 Sales is the name of the worksheet, when I put in 'Chart Combo Box' an
error message pops up. I have inserted the 'Chart Combo Box' and tried
removing '01 Sales' but the error message keeps on popping up. Is there a
way
to link the chart to the combo box?

Many thanks


"Jon Peltier" wrote:

If you adjust your configuration slightly, you could use this approach to
select which of several charts appears:

http://peltiertech.com/Excel/Charts/...eDropDown.html (use the Bring
To
Front technique)

or this combo box approach to select a series to show in a single chart:

http://peltiertech.com/Excel/Charts/ChartByControl.html

Then use this for the date range:

http://pubs.logicalexpressions.com/P...cle.asp?ID=246

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


"zephyr" wrote in message
...
I have a spreadsheet with six rows 2 to 7 and 12 columns B to M.

Row 2 contains the date. Rows 3 to 7 contains the data.

The data from the cells is used to display a chart on the worksheet.

What I would like to do is

1) have the chart to only appear on a window when a button is pressed
2) when the window appears there will be two boxes start date and end
date.

When the start and end dates are typed in I would like the chart to
only
show the points between the two dates. If the start date is not typed
in
then
the full range should be displayed automatically.

Could any one advise how this can be made to work, a step by step
approach
would be appreciated as I am not a whizz with excel.

Many thanks and any help is 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 recenter a pie chart within a chart window? AS Charts and Charting in Excel 2 May 6th 23 07:45 PM
Resizing Chart window using VBA Barb Reinhardt Charts and Charting in Excel 1 April 13th 07 02:23 PM
The window opens in a smaller window not full sized window. Rachael Excel Discussion (Misc queries) 0 November 7th 06 09:04 PM
Chart Titles not showing in excel chart Window Greg_tnwre Excel Discussion (Misc queries) 0 July 15th 06 03:41 AM
How do you change a chart window name? MEMEMEMEMEMEME Excel Discussion (Misc queries) 1 October 18th 05 09:59 PM


All times are GMT +1. The time now is 12:35 PM.

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"