PC Review


Reply
Thread Tools Rate Thread

Adjusting scale of an adjsuting chart

 
 
sunil.koul@gmail.com
Guest
Posts: n/a
 
      17th Jul 2007
Hi All Excel-VBA Experts,

I want to write a macro which would automatically adjust the Y-axis of
an excel chart depending on the data range..

Basically I have a chart pointing to a data range. The data range
often changes but the chart doesn't rescale itself to adjust for the
maximum resolution .. The excel auto option doesn't seem to be that
effective..

One way i could think of was to scan for the min & max values in the
data range but dont know how to adjust the chart axes then...

Any help would be greatly appreciated.
Thanks.
-Sunil

 
Reply With Quote
 
 
 
 
=?Utf-8?B?V2lnaQ==?=
Guest
Posts: n/a
 
      17th Jul 2007
Hi

see in the PDF file (sample chapter) of chapter 15 of

Professional Excel Development

Written by Stephen Bullen, Rob Bovey and John Green

http://www.oaltd.co.uk/ProExcelDev/Default.htm

It's on one of the last pages, if I recall well. Nice stuff, I use it too in
one of my private Excel files.


--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"(E-Mail Removed)" wrote:

> Hi All Excel-VBA Experts,
>
> I want to write a macro which would automatically adjust the Y-axis of
> an excel chart depending on the data range..
>
> Basically I have a chart pointing to a data range. The data range
> often changes but the chart doesn't rescale itself to adjust for the
> maximum resolution .. The excel auto option doesn't seem to be that
> effective..
>
> One way i could think of was to scan for the min & max values in the
> data range but dont know how to adjust the chart axes then...
>
> Any help would be greatly appreciated.
> Thanks.
> -Sunil
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adjusting Y axis scale of a chart using a scrollbar? Brad Microsoft Excel Programming 9 23rd Jun 2009 08:21 AM
Adjusting log scale on the x-axis SuzukiPilot Microsoft Excel Worksheet Functions 0 10th Jun 2009 01:27 PM
adjusting chart axis scale =?Utf-8?B?bmVlcmFq?= Microsoft Access 0 22nd Dec 2005 08:01 PM
adjusting scale on category axis on chart =?Utf-8?B?amFuYWtp?= Microsoft Access Reports 0 21st Oct 2005 03:58 PM
Adjusting X-axis scale on chart John Microsoft Powerpoint 8 1st Apr 2004 05:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:15 AM.