thx for suggestion but it doesn't work.:
innerFrame.Parent.InsertionPoints(1).ParentTextFrames.Count = 0 - there is nothing to get...
1 person found this helpful
I double checked before posting, and it works if you have a reference to the inner text frame.
If you are starting from the inner cell, you need:
You used round parenthesis without the item() method. That's incorrect You need to either use square brackets or item().
thx again Harbs,
believe me - I am watching all stuff at the watch window of VB6 - there is not even one insertion point which has a ParentTextFrames - if I try to adres it I get an error. VisualBasic do not allow syntax like InsertionPoints - it allows something like this:
InsertionPoints(1) but it is the same like InsertionPoints.Item(1). In both cases it doesn't works - all object has ParentTextFrames.Count = 0.
Anyway I found a solution for my problem:
innerFrame.Parent.ParentStory.TextContainers.Item(1) is the right text frame - don't ask me why....
CS3 & VB
That will give you the first text frame of your story...
If that's what you need, it will work.