Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Category Names runtime error 1004

I am using the following code in 2 separate excel
spreadsheets. It works fine in the first but fails in the
second with the following error:

Code:

Set ch = Worksheets.("chart_out_sheet").ChartObjects(1)
ch.Chart.Axes(xlCategory).CategoryNames = _
Worksheets("data_sheet_name").Range("A1:A229")

Error:

Runtime Error 1004 - Unable to set CategoryNames for Axis
class

Has anyone got experience of this and is there an
explanation or workaround?
Reply
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
Runtime Error 1004 JB Bates[_2_] Excel Discussion (Misc queries) 5 December 29th 09 02:40 PM
Runtime error 1004 JR Excel Discussion (Misc queries) 2 November 21st 08 08:29 PM
What causes runtime error 1004? [email protected] Excel Discussion (Misc queries) 4 October 27th 05 07:15 PM
Another runtime 1004 error [email protected] Excel Discussion (Misc queries) 2 September 17th 05 09:21 AM
Runtime Error '1004' [email protected] Excel Discussion (Misc queries) 2 July 18th 05 06:10 AM


All times are GMT +1. The time now is 03:50 PM.

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"