View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Denis[_7_] Denis[_7_] is offline
external usenet poster
 
Posts: 2
Default [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.