LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Charts from 2003 not working in 2007

Hello,

I'm new to Excel programming. I inherited a report created using Excel 2003.
The charts on the report have a scale that changes based on a combo box
value. It works fine in 2003 but in 2007 the scale remains fixed. The line
graph on the charts falls off the grid for certain combo box values as the
scale dosen't change. I have enabled macros and I don't get any error
messages. Below is the code. Any help is appreciated. Thanks!


Code:
Private Sub ComboBox1_Change()
On Error GoTo 1
With Worksheets("Supply").ChartObjects(2).Chart.Axes(xl Value)
.MaximumScale = Range("AF2").Value
.MinimumScale = Range("AF3").Value
End With
With Worksheets("Supply").ChartObjects(1).Chart.Axes(xl Value)
.MaximumScale = Range("AE2").Value
.MinimumScale = Range("AE3").Value
End With
 
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
Linked spreadsheets created in 2003 but not working in 2007 Steve Excel Worksheet Functions 2 June 4th 09 04:33 PM
VISTA working with OFFICE 2003,2007 both or which? Robert Blass Excel Worksheet Functions 1 March 21st 09 07:15 PM
Default charts changed from 2003 to 2007 rrj Charts and Charting in Excel 3 December 4th 08 10:58 AM
Working Between Excell 2003 & 2007 Val Excel Worksheet Functions 2 August 14th 08 10:03 PM
Formulas in 2007 not working in 2003 Andrew Excel Worksheet Functions 22 January 28th 08 06:10 PM


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