Hi there all,
After spending the whole morning searching the archives and experimenting I still cannot do what I need to, so I decided to start a new thread in the hope that someone out there will take pity on me!
I have an excel sheet with 2 columns and x rows. There is a diagram on the sheet that reflects the figures in the 2 columns. I need to export the data from a query, to the same sheet - overwriting the existing columns and rows. i.e. delete the data from column 1 and 2 and refill the columns with the data from my query so as not to lose the diagramm.
I have only managed to create a new sheet each time (without the diagramm). The GetObject(path,class) doesn't work for me.... (I'm assuming that getObject gets an existing object rather than createObject)
Would really appreciate any help
Thanks
Marion
After spending the whole morning searching the archives and experimenting I still cannot do what I need to, so I decided to start a new thread in the hope that someone out there will take pity on me!
I have an excel sheet with 2 columns and x rows. There is a diagram on the sheet that reflects the figures in the 2 columns. I need to export the data from a query, to the same sheet - overwriting the existing columns and rows. i.e. delete the data from column 1 and 2 and refill the columns with the data from my query so as not to lose the diagramm.
I have only managed to create a new sheet each time (without the diagramm). The GetObject(path,class) doesn't work for me.... (I'm assuming that getObject gets an existing object rather than createObject)
Would really appreciate any help
Thanks
Marion