Hi,
not sure that you can do this automatically, but you can get number of lines
in word doc using this method:
http://accessblog.net/2005/09/how-to...ms-office.html
and then adjust ObjectFrame accordingly
--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com
"Jake" <(E-Mail Removed)> wrote in message
news:0A8F4E06-25F7-405F-AF47-(E-Mail Removed)...
> I am using a MS Word document inside of an ObjectFrame through OLE.
>
> I am able to do everythign I need except one. The ObjectFrame type doesn't
> have a CanGrow propery and my document has a variable length.
>
> Is there a way to resize an OLE object inside of an ObjectFrame based on
> the
> size of the object?
>
> Thanks in advance,
>
> Jacob