Paragraph located in a frame

P

Patrick LEBON

Hi,

While browsing all the paragraphs of a wdMainTextStory range, how can I
know if a paragraph is within a frame or not.

Tx in advance.

Patrick++
 
J

Jezebel

Check the Frames count for the paragraph's range:

If pParagraph.Range.Frames.Count > 0 then ....
 

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