Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I decrease the gap width of the Up/down bar?

I am using Office 2007,

OK, I need to plot a boxplot base on a 5 number summary
data.(q1,min,median,max,q3) my problem here is, how do I decrease the gap
width of the Up/down bar? In another words how do i reduce the box width if u
understand what I am trying to ask. THe older version of Excel do come with a
gap width option where you can change the width of the "box" but I can't find
it in this ver. 2007.

Thanks and appreciate your help

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default How do I decrease the gap width of the Up/down bar?

Ha, looks like they left that out. I couldn't find it in the UI.

You can change the gap width using VBA. Select the chart, then press Alt+F11
to open the VB Editor. Press Ctrl+G if the Immediate Window isn't visible,
then type this (with the desired value where I have 100) and press Enter:

ActiveChart.ChartGroups(1).GapWidth = 100

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


"Xcel08" wrote in message
...
I am using Office 2007,

OK, I need to plot a boxplot base on a 5 number summary
data.(q1,min,median,max,q3) my problem here is, how do I decrease the gap
width of the Up/down bar? In another words how do i reduce the box width
if u
understand what I am trying to ask. THe older version of Excel do come
with a
gap width option where you can change the width of the "box" but I can't
find
it in this ver. 2007.

Thanks and appreciate your help



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default How do I decrease the gap width of the Up/down bar?

Thanks Jon the ideal size for me is about 300 to 400, which turn out to be
smaller when I increase the number. I thought it was another way
round...anyway thanks again.

"Jon Peltier" wrote:

Ha, looks like they left that out. I couldn't find it in the UI.

You can change the gap width using VBA. Select the chart, then press Alt+F11
to open the VB Editor. Press Ctrl+G if the Immediate Window isn't visible,
then type this (with the desired value where I have 100) and press Enter:

ActiveChart.ChartGroups(1).GapWidth = 100

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


"Xcel08" wrote in message
...
I am using Office 2007,

OK, I need to plot a boxplot base on a 5 number summary
data.(q1,min,median,max,q3) my problem here is, how do I decrease the gap
width of the Up/down bar? In another words how do i reduce the box width
if u
understand what I am trying to ask. THe older version of Excel do come
with a
gap width option where you can change the width of the "box" but I can't
find
it in this ver. 2007.

Thanks and appreciate your help




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6,582
Default How do I decrease the gap width of the Up/down bar?

It's the width of the gap you are specifying, where 100 = the width of the
bars. The value you specify must be between 0 and 500.

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


"Xcel08" wrote in message
...
Thanks Jon the ideal size for me is about 300 to 400, which turn out to be
smaller when I increase the number. I thought it was another way
round...anyway thanks again.

"Jon Peltier" wrote:

Ha, looks like they left that out. I couldn't find it in the UI.

You can change the gap width using VBA. Select the chart, then press
Alt+F11
to open the VB Editor. Press Ctrl+G if the Immediate Window isn't
visible,
then type this (with the desired value where I have 100) and press Enter:

ActiveChart.ChartGroups(1).GapWidth = 100

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


"Xcel08" wrote in message
...
I am using Office 2007,

OK, I need to plot a boxplot base on a 5 number summary
data.(q1,min,median,max,q3) my problem here is, how do I decrease the
gap
width of the Up/down bar? In another words how do i reduce the box
width
if u
understand what I am trying to ask. THe older version of Excel do come
with a
gap width option where you can change the width of the "box" but I
can't
find
it in this ver. 2007.

Thanks and appreciate your help






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
ASC() does not convert full-width to half-width letters (Exel 2003 DY Excel Worksheet Functions 0 January 27th 07 01:34 PM
How to make cell width different than the column width it lies in John Excel Discussion (Misc queries) 2 September 11th 06 10:41 PM
Percentage Increase/Decrease ianonline Excel Discussion (Misc queries) 2 June 25th 06 04:07 AM
% of increase or decrease Neil R Excel Discussion (Misc queries) 9 November 27th 05 03:13 AM
Automatic % decrease tdw Excel Discussion (Misc queries) 1 May 26th 05 11:23 AM


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