Problem with powerpoint range

  • Thread starter Thread starter excalibur
  • Start date Start date
E

excalibur

I'm trying to fill a powerpoint datasheet from an array that's been
filled with data from a database but get a 'Type Mismatch' error

The line I'm using is
oGraph.Application.datasheet.Range("A0:D5").Value=dataArry
dataArry is an array of Objects

I'm guessing it's something quite simple I just don't know what it is.
Any suggestions appreciated.

Thanks
 
Excalibur said:
I'm trying to fill a powerpoint datasheet from an array that's been
filled with data from a database but get a 'Type Mismatch' error

The line I'm using is
oGraph.Application.datasheet.Range("A0:D5").Value=dataArry
dataArry is an array of Objects

1) Can't fill a data sheet with Objects, I don't think. Try something numeric
instead. Longs, Integers, Singles, Doubles ...

And if that doesn't help ...

2) Can you quote a bit more of the surrounding code? Enough that this can be
replicated elsewhere?
 

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

Back
Top