P
Primoz Bradac
Having posted a question to microsoft.public.office.developer.vba and
getting no answer I'm reposting it here, hopefully with more luck
Here is the problem:
I'm using Office 2003 and automating PPT from Access. Actually I'm
creating a presentation: each slide should represent the contents of a
record from an Access table.
I use ADODB to retrieve the recordset and then put the text fields on a
slide with Layout = ppLayoutTextAndObject.
There is no difficulty putting the text fields of each record onto a
slide with e.g.:
oSlide.Shapes(2).TextFrame.TextRange.Text = rst.Fields("Name")
(Note: oSlide.Shapes(1) is the Title shape of the slide!)
It works fine.
The problem is I'cant figure out how to put a bitmap from a field in the
recordset which is OLEObject on the third shape of each slide. Actually
I'm looking for the property following:
oSlide.Shapes(3).<what comes here?> = rst.Fields("BitmapPicture")
Can anybody give some advice?
TIA,
Primoz
getting no answer I'm reposting it here, hopefully with more luck
Here is the problem:
I'm using Office 2003 and automating PPT from Access. Actually I'm
creating a presentation: each slide should represent the contents of a
record from an Access table.
I use ADODB to retrieve the recordset and then put the text fields on a
slide with Layout = ppLayoutTextAndObject.
There is no difficulty putting the text fields of each record onto a
slide with e.g.:
oSlide.Shapes(2).TextFrame.TextRange.Text = rst.Fields("Name")
(Note: oSlide.Shapes(1) is the Title shape of the slide!)
It works fine.
The problem is I'cant figure out how to put a bitmap from a field in the
recordset which is OLEObject on the third shape of each slide. Actually
I'm looking for the property following:
oSlide.Shapes(3).<what comes here?> = rst.Fields("BitmapPicture")
Can anybody give some advice?
TIA,
Primoz