View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected] harm.charles@gmail.com is offline
external usenet poster
 
Posts: 24
Default Copy chart to new location

Hi,


I recorded a copy of a chart and paste to new location on a work sheet
and recorded the value for the chart. I'm trying to use vba to do
this, but the following code has an error. What is wrong with it.
Code:
ActiveChart.SeriesCollection(1).XValues = "=reject!R2C" & Fcol + 1 &
":R3C" & Lcol - 2 & """"
Error Unable to set XLValues of Series class.