View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Brandon Penner Brandon Penner is offline
external usenet poster
 
Posts: 1
Default Converting VBA about charts to 2007

Hi all, I am in the process of converting my VBA program to Excel 2007 and am
getting an error with the following line that is stumping me. Any help
appreciated. Thanks!

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

The error reads:
"Run-time error '-2147467259(80004005)':
Invalid Parameter"