LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 230
Default XL2007 - Axis Scaling Dialog problem

I have a spreadsheet that uses the following sequence to scale the y
axis of an X-Y scatter graph with lines drawn between points from VBA
and it works perfectly in all previous versions of Excel. It fails
with XL2007 rather catastrophically. The main spreadsheet was imported
from XL2003.

I have looked in the KB and archives here and not found any other
reports of this problem so I don't know if it is something peculiar
about this particular installation or what. It is reproducible in a
toy chart in pure XL2007.

The failing lines are;

ActiveChart.Axes(xlSecondary).Select
ok = Application.Dialogs(xlDialogScale).Show

The initial error is 1004 - Application defined or object defined
error

Running it a second time gives Runtime Error "-2147467259"
Method 'select' of object 'Axis' failed
(this may be because the Axis is already selected)

Attempts to save the original file then result in XL falling over in a
big heap.

I have retested it with the canonical toy program with a 4 point X-Y
scatter chart and it fails the same way on the xlDialogScale, but it
does not give the weird secondary error for selecting the axis or
crash out soon after.

xlDialogScale has value 87 according to the XL2007 help system.

I can't think what else to try. Thanks for any enlightenment,
suggestions or work arounds. It seems a bit gross to have to define
your own dialogue for axis scaling because the built in one has become
horribly broken :(

Thanks,
Martin Brown

 
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
Suppress X Axis Scaling Arturo Charts and Charting in Excel 1 February 21st 07 03:36 PM
Scaling x-axis with time Callum Charts and Charting in Excel 3 May 18th 06 05:42 PM
X-Axis scaling on graph bob2 Charts and Charting in Excel 2 December 20th 05 04:12 PM
2 Axis chart and scaling Sheldon Charts and Charting in Excel 1 June 22nd 05 04:01 PM
Varying axis scaling jeffnoll Charts and Charting in Excel 2 February 18th 05 02:02 AM


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