LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 139
Default Scaling Axis via VBA?

I'm creating a spreadsheet with many charts.

Each chart may have a different range of values - "Deal Count", for instance,
may vary from 1 to 10 on one chart, but from 1 to 145 on another chart.

I want to set each chart's Axis.MajorUnitScale to an appropriate amount.

I'm figuring something like:
---------------------------------
Count < 10 = 1
Count between 11 and 100 = 10
Count between 101 and 1000 = 100
---------------------------------

And so-on....

Do I have to go to each chart's data range, figure out which column has "Deal
Count" in it, figure out how many rows there are, and then do a Max()?

Or is there some simpler way?

The exact MajorUnitScale isn't a religious issue - I just want it so that the
tick mark labels aren't all scrunched together.
--
PeteCresswell
 
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
x-axis scaling todd Excel Discussion (Misc queries) 4 March 19th 10 03:45 PM
x-axis scaling todd Charts and Charting in Excel 5 March 18th 10 12:28 PM
Scaling axis day Charts and Charting in Excel 1 April 9th 09 01:15 PM
axis scaling RJDII Charts and Charting in Excel 1 July 17th 08 10:07 PM
Auto Scaling of Y-axis Nicole Charts and Charting in Excel 5 January 5th 05 07:33 PM


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