View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.charting
Robby Robby is offline
external usenet poster
 
Posts: 18
Default Excel 2007 Macro Problem

I was just wondering if anyone knows what this message means:

"Method 'Axes' of object' _Chart failed"

The Macro works fine in Excel 2003 but crashes in Excel 2007. The line which
seems to be casuing me grief is:

ActiveChart.Axes(xlCategory, xlPrimary).CategoryType = xlCategoryScale

Could anyone let me know what the problem could be.

Cheers