Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15067

How to tell whether Range is inside a Frame

$
0
0
Hi all,

I'm stepping through my document paragraph by paragraph, performing certain actions depending on its contents, position, etc. I need to know whether the paragraph in question is with a frame (not a textbox, but a frame that is created using Insert Frame). So far, have come up short. Best I can cypher right now is to expand the Range by a couple lines in each direction, and then to see if the new range contains a frame using opara.Range.frames.Count.

Does anyone else have suggestions on how to tell if a range is within a frame?

Thx in advance

Viewing all articles
Browse latest Browse all 15067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>