OLE Bound Frame Object Method error

E

Eric Sambell

I have Outlook 2000 code that loads all the attachments from an email into an
Access table, by using a bound OLE control, 'objcont', on a form. After it
loads each attachment, which happens to be an Excel worksheet, it then needs
to get at the spreadsheet itself.
For the first attachment everything works just fine, but when it adds the
next record the object property of the bound control becomes unaccesable. The
code that loads the object seems to be working fine, as I can go to the form
and open the embeded object manually. I figure there is some step to the
process I'm missing, but nothing I try seems to make the objcont.object
property accesable again.

Any Suggestions?


Thanks,


Eric Sambell
 
Top