Hi
I'm trying to set up a named range called " chart_op_data "
the code below works fine counting rows & 12 columns.
However there is often less columns then 12 , 12 being the maximum
data is used for charts
how do i count columns as well....i'm sure theres some one who knows
Bernie
' Chart option data
ActiveWorkbook.Names.Add Name:="chart_op_data", RefersToR1C1:= _
"=OFFSET('Column Chart, Options Data'!R1C1,0,0,COUNTA('Column Chart, Options Data'!C1)+1,12)"
I'm trying to set up a named range called " chart_op_data "
the code below works fine counting rows & 12 columns.
However there is often less columns then 12 , 12 being the maximum
data is used for charts
how do i count columns as well....i'm sure theres some one who knows
Bernie
' Chart option data
ActiveWorkbook.Names.Add Name:="chart_op_data", RefersToR1C1:= _
"=OFFSET('Column Chart, Options Data'!R1C1,0,0,COUNTA('Column Chart, Options Data'!C1)+1,12)"