SourceData of a chart

B

black_sun

Hi to all,
I have a problem which raise this morming.
Till this morming the vba code woked without problems... I didn't
change anything.
This is the code:

Static area As String

area = "I15:K15,M15:p15," & "I" & intRigaEnd & ":K" & intRigaEnd &
",M" & intRigaEnd & ":p" & intRigaEnd

ActiveChart.SetSourceData Source:=Sheets(strFoglio).Range(area),
PlotBy:=xlRows

I don't know why it doesn't work anymore :(

Thanks in advance to whom will help me.

Bye Denis
 
J

Jon Peltier

What's the value of intRigaEnd? What is the value of area? Does this line
work:

Sheets(strFoglio).Range(area).Select

- Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top