W
Wolfgang Hugemann
The question seems so easy, but I couldn't find the answer on the web.
The cursor is placed within a text frame and I would like to have a
handle to that frame to find out about its size. I have got as far as
to check whether the cursor is within an textframe at all:
If Selection.StoryType = wdTextFrameStory Then....
But this does not give me a clue how to get a handle on that text
frame. I thought that the parent property would be a good idea, but
this seems to point at the active document, not at the text frame as
the next parent in hierachy.
Any ideas how to solve this problem?
The cursor is placed within a text frame and I would like to have a
handle to that frame to find out about its size. I have got as far as
to check whether the cursor is within an textframe at all:
If Selection.StoryType = wdTextFrameStory Then....
But this does not give me a clue how to get a handle on that text
frame. I thought that the parent property would be a good idea, but
this seems to point at the active document, not at the text frame as
the next parent in hierachy.
Any ideas how to solve this problem?