Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Doughnut chart with VBA

I have doughnut graph in my excel sheet.
Is it possible to change the size of the center circle of the doughnut
within the VBA code.
At the moment it is fixed 40% of the size of the outer doughnut but I would
like to change if according the result of my calculations.

Any ideas, couldn't find the answer from Google.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 105
Default Doughnut chart with VBA

i got this with the macro recorder :

Var = 60
ActiveChart.ChartGroups(1).DoughnutHoleSize = Var

HTH
Daniel
I have doughnut graph in my excel sheet.
Is it possible to change the size of the center circle of the doughnut within
the VBA code.
At the moment it is fixed 40% of the size of the outer doughnut but I would
like to change if according the result of my calculations.

Any ideas, couldn't find the answer from Google.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,489
Default Doughnut chart with VBA

Hi,

Try this,

ActiveChart.ChartGroups(1).DoughnutHoleSize = 25 '

Cheers
Andy
--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Jasoni" wrote in message
...
I have doughnut graph in my excel sheet.
Is it possible to change the size of the center circle of the doughnut
within the VBA code.
At the moment it is fixed 40% of the size of the outer doughnut but I
would like to change if according the result of my calculations.

Any ideas, couldn't find the answer from Google.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Doughnut chart with VBA

Thank you for the both of You.
How I could miss the recording ;o)

Thanks.


"Andy Pope" kirjoitti
...
Hi,

Try this,

ActiveChart.ChartGroups(1).DoughnutHoleSize = 25 '

Cheers
Andy
--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"Jasoni" wrote in message
...
I have doughnut graph in my excel sheet.
Is it possible to change the size of the center circle of the doughnut
within the VBA code.
At the moment it is fixed 40% of the size of the outer doughnut but I
would like to change if according the result of my calculations.

Any ideas, couldn't find the answer from Google.





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 doughnut chart with different sizes for each ser Nuno Charts and Charting in Excel 2 January 23rd 09 09:47 PM
can the doughnut chart key be in words lili class Charts and Charting in Excel 2 December 29th 07 09:25 AM
what do you use a doughnut chart for QuietRanger Charts and Charting in Excel 4 December 8th 06 02:25 PM
Label Doughnut-Chart outside Steeplechase Charts and Charting in Excel 4 February 2nd 06 09:20 AM
Office Web Components; combined chart Doughnut/Scatterline doesn't work hstaaks Charts and Charting in Excel 1 May 27th 05 06:05 PM


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