VBA-Text in a bodytext place holder

E

Edward

Hi everybody,
I use a two column bodytext layout for a specific slide. it will be
populated with some entries (using VBA) , some entries maybe long and wraped
to the second line. How can I determine when I get to the end of a bodytext
placeholder in VBA?
I can't just simply count the number of entries because some maybe loag and
therefore wraped. I tried to use boundheight peroperty but it's not accuarte
when I change the line spaceing . Is there any beter way of doing this? The
whole idea is to find when I get to the end of first bodytext placeholder and
starting pupulating the second placeholder .
 
E

Edward

Thanks Steve. There was not much to write that's why I didn't write any code.
I just compared shape height with boundheight

If .Height > .TextFrame.TextRange.BoundHeight then
which as I mentioned in my first posting didn't work correctly , but your
code with additional comparision of .top works fine.
Thanks again.
 

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

Top