[VBA] Convert string to Range
Dave Peterson ha scritto:
The worksheet that owns the thing that should be activated has to be active.
Maybe it's as simple as making sure you're on the correct worksheet first.
Yes I'm on the correct worksheet.
application.goto Sheets(foglio_grafici).range("a1")
Why this??
Sheets(foglio_grafici).ChartObjects("Grafico 2").Activate
I do this.
with sheets(foglio_grafici)
.parent.activate
.select
.chartobjects("grafico 2").activate
end with
The error is always on SetSourceData
--
Ciao Denis
Arriva un momento nella vita in cui non rimane altro da fare che
percorrere la propria strada fino in fondo...
Quello e' il momento di inseguire i propri sogni, quello e' il momento
di prendere il largo, forti delle proprie convinzioni.
|