Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 44
Default empty columns not to be displayed

Hi


I have a table that displays data depending upon values that a user selects
from a control box.

Based on these values, a column chart is displayed.

My problem is...depending upon the value that the user selects from the
control box, the no. of columns of data to be plotted also changes.

If the user selects 1st value, there are 6 columns X 1 row. But if he
selects 2nd value, there are 9 columns X 1 row to be plotted in the graph.

The problem is, in the first case, the graph shows the first six columnar
chart but shows blank (empty column space) for the remaining 3.

Can you help me remove the empty 3 column space when the user selects 1st
value...There is no problem when the user selects the 2nd value.

Regards

Nikhil
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 3,346
Default empty columns not to be displayed

Hi,

When you say the user picks from a "control box" what exactly are you using?
If you are using a combo box control then you already have code to display
or hide the items. Then you would just add code to hide the blank columns -
charts by default plot only visible cells.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Nikhil" wrote:

Hi


I have a table that displays data depending upon values that a user selects
from a control box.

Based on these values, a column chart is displayed.

My problem is...depending upon the value that the user selects from the
control box, the no. of columns of data to be plotted also changes.

If the user selects 1st value, there are 6 columns X 1 row. But if he
selects 2nd value, there are 9 columns X 1 row to be plotted in the graph.

The problem is, in the first case, the graph shows the first six columnar
chart but shows blank (empty column space) for the remaining 3.

Can you help me remove the empty 3 column space when the user selects 1st
value...There is no problem when the user selects the 2nd value.

Regards

Nikhil

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
Spreadsheet columns are displayed numerically instead of alpha eddie Excel Worksheet Functions 5 September 11th 09 04:40 PM
Find All Columns Displayed Dancer Excel Worksheet Functions 2 January 17th 09 03:40 PM
How to open worksheet with preset columns displayed? Clueless in Seattle New Users to Excel 1 June 14th 08 06:56 PM
How do I set which columns are displayed in File:Open? CindyJK Excel Discussion (Misc queries) 0 December 28th 05 11:43 PM
Text wider than one cell is not displayed in the next empty cell Len Pace Excel Discussion (Misc queries) 5 February 18th 05 12:24 AM


All times are GMT +1. The time now is 04:36 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"