Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Displaying values on graph

I have graph which shows values from A1 to C3. I just change data in cells,
so graph changes with values in those cells.
I would like that values on y axis (ordinate) starts from 0 (zero) and not
from some number. How to solve this through VBA?

Thanks in advance


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 811
Default Displaying values on graph

"Marc" wrote in message
...
I have graph which shows values from A1 to C3. I just change data in cells,
so graph changes with values in those cells.
I would like that values on y axis (ordinate) starts from 0 (zero) and not
from some number. How to solve this through VBA?


Hi Marc,

Assuming this is the only chart located on the active worksheet, the VBA
required to do this would be the following:

ActiveSheet.ChartObjects(1).Chart _
.Axes(xlValue).MinimumScale = 0

--
Rob Bovey, Excel MVP
Application Professionals
http://www.appspro.com/

* Take your Excel development skills to the next level.
* Professional Excel Development
http://www.appspro.com/Books/Books.htm


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
Displaying a horizontal quota line on a graph Looking for help today[_2_] Charts and Charting in Excel 3 March 1st 09 08:19 PM
Graph Data not displaying davethewelder Excel Discussion (Misc queries) 4 July 24th 08 02:07 PM
How do I create a graph displaying two parameters for one item lavalisa Charts and Charting in Excel 1 March 20th 07 01:37 AM
Displaying graph and charts on events soteman Excel Discussion (Misc queries) 0 July 10th 06 08:15 PM
Displaying values from zero on graph Marc Excel Discussion (Misc queries) 0 April 14th 05 09:21 PM


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